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]

Options

pid - process identifier (PID)

Result

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

Author: admin