in reply to Re: fork/reaper
in thread fork/reaper
Any idea on how to get children's exit $result before he dies?
UPDATED: ok I think I got it
Added &reaper into the infinite loop and deleted $SIG{CHLD}
Seems to work now.
(I'd like to know if this is the good way)
UPDATED: ok I think I got it
Added &reaper into the infinite loop and deleted $SIG{CHLD}
Seems to work now.
(I'd like to know if this is the good way)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: fork/reaper
by blue_cowdawg (Monsignor) on Mar 29, 2004 at 17:49 UTC |
In Section
Seekers of Perl Wisdom