Get the process ID by its name

We get the process identifier (PID) by its name.

Options

procName - process name

Result

Process ID, or 0 if the process was not found.

Author: admin