reference/exec/functions/proc-close.xml
350d95443aeb0ea8751d71f262aac56d3ad48f83
...
...
@@ -18,8 +18,8 @@
18
18
except that it only works on processes opened by
19
19
<function>proc_open</function>.
20
20
<function>proc_close</function> waits for the process to terminate, and
21
-
returns its exit code. If you have open pipes to that process, you
22
-
should <function>fclose</function> them prior to calling this function in
21
+
returns its exit code. Open pipes to that process are closed
22
+
when this function is called, in
23
23
order to avoid a deadlock - the child process may not be able to exit
24
24
while the pipes are open.
25
25
</para>
26
26