Getting the name of the process via the process ID

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Is there a way that is OS independent (that is, works the same way on
Windows and all the various flavors of Unix) to get the name of a
process from the process ID?

I know about the Proc-ProcessTable module, but that apparently doesn't
work on Windows. And yes, I also know about using the system command to
run "ps" (or to use open(PS, "ps|"), and that you can get a Windows
"ps" command, but I'd rather get something with a more standard


Site Timeline