Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: kill won't kill the process I opened

by keszler (Priest)
on Sep 16, 2013 at 03:34 UTC ( #1054217=note: print w/ replies, xml ) Need Help??


in reply to kill won't kill the process I opened

Perl kill != *nix kill. According to kill:

A negative signal name is the same as a negative signal number, killing process groups instead of processes. For example, kill '-KILL', $pgrp and kill -9, $pgrp will send SIGKILL to the entire process group specified. That means you usually want to use positive not negative signals.
With kill 'KILL', $cam_pid I got:
$ ./pm1054213.pl cmd running: 7808 killing cmd: 7808 cmd closed off dead and buried!


Comment on Re: kill won't kill the process I opened
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-04 21:10 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 (60 votes), past polls