note 51124 added to function.proc-open
| From: | falstaff at arragon dot biz | Date: | Mon, 21 Mar 2005 01:22:44 +0000 |
| Subject: | note 51124 added to function.proc-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86728@lists.php.net to get a copy of this message | ||
Using this function under windows with large amounts of data is apparently futile.
these functions are returning 0 but do not appear to be doing anything useful.
stream_set_write_buffer($pipes[0],0);
stream_set_write_buffer($pipes[1],0);
these functions are returning false and are also apparently useless under windows.
stream_set_blocking($pipes[0], FALSE);
stream_set_blocking($pipes[1], FALSE);
The magic max buffer size I found with winxp is 63488 bytes, (62k). Anything larger than this
results in a system hang.
----
Manual Page -- http://www.php.net/manual/en/function.proc-open.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51124
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51124&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51124&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51124&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51124&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51124&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51124&report=yes
Search -- http://master.php.net/manage/user-notes.php