Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by mslattery (Initiate)
on Apr 19, 2002 at 18:40 UTC ( #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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2018-01-16 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (186 votes). Check out past polls.

    Notices?