Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: sending signal to self with kill on windows (updated);

by BrowserUk (Pope)
on Dec 30, 2012 at 05:54 UTC ( #1010893=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>start /b perl -E"say $$; sleep 10000"
    
    ...
    C:\test>perl -E"kill 21, $$ or say $^E; say 'ending';"
    The parameter is incorrect
    ending
    
  2. or download this
    C:\test>perl -wE"$SIG{BREAK}=sub{ say 'BREAKing' }; &{$SIG{BREAK}}; sa
    +y 'ending'; "
    BREAKing
    ending
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-09-22 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (184 votes), past polls