note 101148 added to function.passthru
| From: | myselfasunder at gmail dot com dot dfvuks | Date: | Mon, 29 Nov 2010 21:00:13 +0000 |
| Subject: | note 101148 added to function.passthru | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174454@lists.php.net to get a copy of this message | ||
PHP's program-execution commands fail miserably when it comes to STDERR, and the proc_open()
command doesn't work all that consistently in non-blocking mode under Windows.
This command, although useful, is no different. To form a mechanism that will see/capture both
STDOUT and STDERR output, pipe the command to the 'tee' command (which can be found for
Windows), and wrap the whole thing in output buffering.
Dustin Oprea
----
Server IP: 208.69.120.55
Probable Submitter: 65.5.154.221
----
Manual Page -- http://www.php.net/manual/en/function.passthru.php
Edit -- https://master.php.net/note/edit/101148
Del: integrated -- https://master.php.net/note/delete/101148/integrated
Del: useless -- https://master.php.net/note/delete/101148/useless
Del: bad code -- https://master.php.net/note/delete/101148/bad+code
Del: spam -- https://master.php.net/note/delete/101148/spam
Del: non-english -- https://master.php.net/note/delete/101148/non-english
Del: in docs -- https://master.php.net/note/delete/101148/in+docs
Del: other reasons-- https://master.php.net/note/delete/101148
Reject -- https://master.php.net/note/reject/101148
Search -- https://master.php.net/manage/user-notes.php