proc_get_status --
Get information about a process opened by proc_open()
Description
int proc_get_status ( resource process)
proc_get_status() fetches data about a
process opened using proc_open(). The
collected information is returned in an array containing the
following elements:
element
type
description
command
string
pid
int
process id
running
bool
TRUE if the process is still running, FALSE if it has
terminated
signaled
bool
TODO
stopper
bool
TODO
exitcode
int
the exit code returned by the process (which is only
meaningfull if running is FALSE