1) I may not have made it clear that the control panel is not a constant process. It is web-based and every function you execute through the control panel is going to be a new process which will die and return the user to the control panel HTML page after it is done doing what it does. So, unless I am mistaken, the process created when a user hits the "Halt script" button would not be the parent of the child process, anyway.
2) I misunderstood the first answer given. It's a useful place for me to start doing some reading but it won't solve the problem I am currently dealing with.
I think checking the process group ID is the way for me to go. I don't want to anything to break the program for ActivePerl (I develop using Perl 5.6.1 on Linux), but I can always throw in an eval block to avoid any real problems.
Thanks again for all the help, Monks.
SpaceAce
s>>sp>;s>..|>\u$&ace>g;print;
In reply to Re: Killing wayward children
by SpaceAce
in thread Killing wayward children
by SpaceAce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |