Name
proc_get_status
Synopsis
array proc_get_status(resource handle
)
Returns an associative array containing information about the
process handle
, previously opened by
proc_open()
. The array contains the
following values:
| The command string this process was opened with. |
| The process ID. |
|
|
|
|
|
|
| If the process has terminated, the exit code from the process, or –1 otherwise. |
| The signal that caused
the process to be terminated if |
| The signal that caused
the process to be stopped if |
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.