in reply to Re: Kill a process in Perl
in thread Kill a process in Perl
Is there any way to screen/read the current processes running in Windows to get their pid in Perl?
Yes. Win32::Process::Info will get you most the information you need to do that. The missing part is the command line (parameters) if you need those to distinguish between concurrent instances. Though you may be able to determine that by using the ->Subprocesses() method if you know the pid of the process that started the instance you are looking for.
|
|---|