Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how to make child process die after parent exists in perl

by sundialsvc4 (Monsignor)
on Jan 09, 2014 at 16:29 UTC ( #1069990=note: print w/ replies, xml ) Need Help??


in reply to how to make child process die after parent exists in perl

This seems virtually identical to this earlier PM post:   Killing child process ...

This stackoverflow comment-thread also has useful explanations of how SIGTERM is propagated in Unix/Linux.

Be sure that you clearly understand the difference between this signal and SIGKILL.   The graceful handling of a request to terminate is often done badly/incorrectly, resulting in unstable and awkward landings.   Proc::Background is very good “sugar” to help smooth over many rough spots.


Comment on Re: how to make child process die after parent exists in perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1069990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-07-31 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls