Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-07-06 11:07 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 (72 votes), past polls