Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Killing an Application in Windows NT

by RolandGunslinger (Curate)
on Dec 18, 2003 at 14:11 UTC ( [id://315521] : note . print w/replies, xml ) Need Help??


in reply to Killing an Application in Windows NT

Look at Win32::PerfLib for retrieving the task list, with this information you'll get the pid and pname, you could then do a system("kill $pid") to kill the rogue process. Check out cpan.org for the perl module to do this.