This is automatic generated document for things in Swow\Process\ProcessInterface class
Interface ProcessInterface
Methods
Method getPid
Get the process id.
Method hasExited
Check whether the process has exited.
Method kill
Send a signal to the process.
Windows supports SIGINT, SIGBREAK, and SIGKILL. SIGTERM is not supported on Windows.
Throws ProcessException when the signal cannot be sent
Method wait
Wait for the process to exit.
Param int $timeout timeout in milliseconds, -1 means infinite
Throws ProcessException when waiting fails or times out