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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access