Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Getting process ID to kill a process....by $code or die (Deacon) |
on Sep 13, 2001 at 10:01 UTC ( [id://112117]=note: print w/replies, xml ) | Need Help?? |
The following node explains how to get a list of processes and IDs: Getting a Local/Remote Win32 Task List. Another option is using WMI (Win32_Process class). I don't have any code for this. But if you do a Super Search for WMI or "Win32 process" you will probably get some more useful information. Also see MSDN for WMI specifics. Good Luck. $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$, =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
In Section
Seekers of Perl Wisdom
|
|