in reply to Find a windows process

Hello BernieC,

take a look at Win32::Process::List

..or shell out (useful on windows sometimes) and parse the output of tasklist command.

PS see also How to get PID of a process given its complete command line in windows

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Find a windows process
by BernieC (Pilgrim) on May 16, 2022 at 21:39 UTC
    I didn't see the Win32::Process::List but you answered the question that was hidden in my inquiry -- I know that Task Manager has a "detail" tab that lists the names/processes but I couldn't see a way to {a} run that from perl, and {b} extract that info task manager is strictly window-only.. but "tasklist" -- You've solved my problem *twice*!! thanks...
Re^2: Find a windows process
by Anonymous Monk on May 17, 2022 at 08:34 UTC