Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Child process lingers after keyboard interrupt on Windowsby BrowserUk (Patriarch) |
on Oct 11, 2018 at 01:03 UTC ( [id://1223843]=note: print w/replies, xml ) | Need Help?? |
The difference is the flags used on the CreateProcess() call underlying the different methods of creating a child process. You cannot change them from your application. The simplest way for you to ensure your child processes are cleaned up if your parent is interupted is to install a signal handler for each possible interupt signal and use kill to forward the interrupt before allowing the parent to die. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
Suck that fhit
In Section
Seekers of Perl Wisdom
|
|