Greeting Everyone,
Two comments
My understanding is that the kill command only reports whether or not it successfully sent a signal which may or may not have actually killed the process. The only safe thing to do is to check whatever mechanism you have for getting the PIDs in the first.
Tangentially, IMHO, backticks are best avoided in Perl code. The syntax `some command` looks nicer as qx|some command|.
In reply to Re: Killing processes
by jimw54321
in thread Killing processes
by deyaneria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |