We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13cc59c commit 9f8a421Copy full SHA for 9f8a421
reference/exec/functions/proc-close.xml
@@ -48,6 +48,11 @@
48
Returns the termination status of the process that was run. In case of
49
an error then <literal>-1</literal> is returned.
50
</para>
51
+ <para>
52
+ If <function>proc_get_status</function> is called before <function>proc_close</function>,
53
+ and finds the process not in "running" state anymore, and retrieves the exit code, then
54
+ <function>proc_close</function> will also return <literal>-1</literal>.
55
+ </para>
56
¬e.sigchild;
57
</refsect1>
58
0 commit comments