Determine if the executable is running

On the path to the executable file, we determine whether it is running.

Options

exePath - path to the executable file

Result

Its process identifier (PID) if the file is running or 0 if not.

Author: admin