Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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? 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

Comment on Answer: Can I get notified of a child process terminating?
Download Code
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-10-23 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls