Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[LanX]: greetings from Singapore

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-02-21 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (307 votes). Check out past polls.