diff --git a/reference/exec/functions/proc-close.xml b/reference/exec/functions/proc-close.xml index d9c93aedd1..25422e75cc 100644 --- a/reference/exec/functions/proc-close.xml +++ b/reference/exec/functions/proc-close.xml @@ -18,8 +18,8 @@ except that it only works on processes opened by proc_open. proc_close waits for the process to terminate, and - returns its exit code. If you have open pipes to that process, you - should fclose them prior to calling this function in + returns its exit code. Open pipes to that process are closed + when this function is called, in order to avoid a deadlock - the child process may not be able to exit while the pipes are open.