Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Killing wayward children

by SpaceAce (Beadle)
on Nov 19, 2002 at 07:38 UTC ( [id://214048]=note: print w/replies, xml ) Need Help??


in reply to Killing wayward children

Much of the confusion is my fault.

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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found