diff --git a/reference/exec/functions/proc-get-status.xml b/reference/exec/functions/proc-get-status.xml index 08e1083b3a..a89b125141 100644 --- a/reference/exec/functions/proc-get-status.xml +++ b/reference/exec/functions/proc-get-status.xml @@ -1,5 +1,5 @@ - + proc_get_status @@ -27,17 +27,17 @@ command - string + string pid - int + int process id running - bool + bool &true; if the process is still running, &false; if it has terminated @@ -45,31 +45,43 @@ signaled - bool - TODO + bool + + &true; if the child process has been terminated by + an uncaught signal. Always set to &false; on Windows. + - stopper - bool - TODO + stopped + bool + + &true; if the child process has been stopped by a + signal. Always set to &false; on Windows. + exitcode - int + int the exit code returned by the process (which is only - meaningfull if running is &false; + meaningful if running is &false;) termsig - int - TODO + int + + the number of the signal that caused the child process to terminate + its execution (only meaningful if signaled is &true;) + stopsig - int - TODO + int + + the number of the signal that caused the child process to stop its + execution (only meaningful if stopped is &true;) +