Symfony\Component\Process\Process::getPid
Returns the Pid (process identifier), if applicable.
Signature
public function getPid()
Returns
- integer|null
- The process id if running, null otherwise
Errors/Exceptions
-
RuntimeException
- In case --enable-sigchild is activated