Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Answer: Can I get notified of a child process terminating?

( #160629=categorized answer: print w/ replies, xml ) Need Help??

Q&A > network programming > Can I get notified of a child process terminating? - Answer contributed by mslattery

And of course the way you would do this is by...

sub catch { my $signal_name = shift ; die "Caught CHLD" ; # or whatever you wish to do! } $SIG{CHLD} = \&catch;

See http://perldoc.perl.org/ and search on PERLIPC

Good Luck!,
mslattery

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2016-07-27 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.