in reply to killing linux process with CGI
additionally to the other comments about kill -9:
kill -9, @pid or die "Could not kill: $!";
kill -9,@pid;you should check the return value and the error message. why don't you want to know why it failed?
kill -9, @pid or die "Could not kill: $!";
|
---|
In Section
Seekers of Perl Wisdom