Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Exiting batch-started Perl script on WinXP shutdown (TERM)

by tye (Cardinal)
on Apr 17, 2012 at 18:18 UTC ( #965541=note: print w/ replies, xml ) Need Help??


in reply to Re: Exiting batch-started Perl script on WinXP shutdown
in thread Exiting batch-started Perl script on WinXP shutdown

It looks like p5git://win32/win32.c. turns CTRL_SHUTDOWN_EVENT into a SIGTERM, so $SIG{TERM} should work for this case.

- tye        


Comment on Re^2: Exiting batch-started Perl script on WinXP shutdown (TERM)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-07-31 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls