mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
proc_close() automatically closes open pipes
At least as of PHP 5.0.0. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350242 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4aab798782
commit
350d95443a
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@
|
|||
except that it only works on processes opened by
|
||||
<function>proc_open</function>.
|
||||
<function>proc_close</function> waits for the process to terminate, and
|
||||
returns its exit code. If you have open pipes to that process, you
|
||||
should <function>fclose</function> 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.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue