XP is just a number | |
PerlMonks |
Re: kill won't kill the process I openedby keszler (Priest) |
on Sep 16, 2013 at 03:34 UTC ( [id://1054217]=note: print w/replies, xml ) | Need Help?? |
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:
In Section
Seekers of Perl Wisdom
|
|