Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by sundialsvc4 (Abbot)
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 about the Monastery: (9)
As of 2015-09-03 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (125 votes), past polls