in reply to Kill a process in Perl
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.
|
|---|