[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/exec/functions/_proc-close.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2020-07-29 15:45:35
Message-ID: svn-cmb-1596037535-350242-1183175014 () svn ! php ! net
[Download RAW message or body]
cmb Wed, 29 Jul 2020 15:45:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=350242
Log:
proc_close() automatically closes open pipes
At least as of PHP 5.0.0.
Changed paths:
U phpdoc/en/trunk/reference/exec/functions/proc-close.xml
Modified: phpdoc/en/trunk/reference/exec/functions/proc-close.xml
===================================================================
--- phpdoc/en/trunk/reference/exec/functions/proc-close.xml 2020-07-29 15:35:45 UTC (rev 350241)
+++ phpdoc/en/trunk/reference/exec/functions/proc-close.xml 2020-07-29 15:45:35 UTC (rev 350242)
@@ -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>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic