Yes, this is a possibility indeed. I just was curious whether there is a possibility to kill jobs started with system(1,...); sorry if I was not clear enough in this respect.
It turns out that at least with my tests, I did find a solution which seems to work: Using a negative kill signal (kill -9) killed also my children. Knowing that Windows gets funny at times, I wonder whether this is indeed a reliable solution, or whether there could be cases when this strategy fails to work.
--
Ronald Fischer <ynnor@mm.st>
| [reply] [d/l] [select] |
Using a negative kill signal (kill -9) killed also my children
Hm. Which version of Perl are you using?
Update: I'm not sure when it was added, but the latest sources show that any negative signal value is now taken to mean "kill this process tree with prejuduce".
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".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
| [reply] [d/l] |