Get the path to a process file by its PID

By the identifier (PID) of the process, we get the path to its executable file.
[Get process ID by its name]


pid - process identifier (PID)


The path to the process file, or an empty string if it fails or if the process does not exist.

Author: admin