|Do you know where your variables are?|
Kill a process in perl windows and proceed only if it killed the processby Anonymous Monk
|on Jul 19, 2012 at 21:35 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I would like to kill a processid in perl and I want to verify whether it actually killed the process. If it fails I need to try it again one more time otherwise exist.
Is Win32::Process::KillProcess is the best method to kill a process in perl for an application running on windows environment?
Will KillProcess return true on success?
what this exit code means will that tells me it was a success?
How can I check with an exitcode or returnCode and make sure a process acually killed?