Closed giselajesslim closed 9 years ago
BackgroundProcess
handles the PID internally. The parameter you passed to isPassing()
does actually do nothing. If you want to stop a process manually by PID you can check out the source code of the stop()
method. See https://github.com/cocur/background-process/blob/master/src/BackgroundProcess.php#L94
How to stop process by ID? I am using stable version. Thanks.