Fellow Monks I need your help!
I looking for a module/procedure/code in perl that allows me to find, on Win32, the specific pid for an executable that is currently running. I saw
@info = $pi->GetProcInfo (); in
Win32::Process::Info which supposedly gets all the pids and throws them into a hash. I do obviously know the name of the executable that I am searching the pid for, but I would have no idea as to how to pull the specific pid out of this hash alone. There has got to be something simpler or more direct. Again, all I am looking for is just the *one* pid associated with the single executable that I am interested in. Let's say the executable's name is tracker.exe, I need to find the pid for just tracker.exe
Your help is greatly appreciated! Thanks in advance!