Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 rifling through the Monastery: (5)
As of 2015-08-01 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls