Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: It is possible to prevent cmd.exe from being killed ?

by Old_Gray_Bear (Bishop)
on Nov 30, 2005 at 20:56 UTC ( [id://513105]=note: print w/replies, xml ) Need Help??


in reply to It is possible to prevent cmd.exe from being killed ?

Just a guess, but I'd bet that the SIGHUP is sent as part of the System shut-down process.

Note: SIGKILL is not really stopable; you can catch a KILL and stick code in the subroutine to do cleanup (close files, delete semaphores, and such), but once your routine is finished, the System will continue shutting down your process. Kill is the equivilent of the 'Non-Maskable Interupt' that the hardware uses to inform you that "A Serious Error Has Occured, and I Am Leaving Now". (Often followed by an unsuccessful attempt to dump core.)

----
I Go Back to Sleep, Now.

OGB

  • Comment on Re: It is possible to prevent cmd.exe from being killed ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found