Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 contemplating the Monastery: (12)
As of 2014-07-28 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (206 votes), past polls