Generally, I prefer Win32::Job to Win32::Process for this type of thing. Notice that, unlike Win32::Process, Win32::Job allows you to reliably kill a process and all its children by launching the process in a job. Example code that uses Win32::Job can be found in Re: Timing Windows commands.
In reply to Re: Kill a process in Perl
by eyepopslikeamosquito
in thread Kill a process in Perl
by uzers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |