|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: How to tell Child wait till Parent kill itby blindluke (Hermit) |
| on Nov 19, 2015 at 07:47 UTC ( [id://1148096]=note: print w/replies, xml ) | Need Help?? |
|
In the child process, set up a signal handler. A standard kill sends out the TERM signal, but you can wait for any signal, and react accordingly. Here's an example:
- Luke
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||