Bug #53424 [Opn->Bgs]: passthru() and STDERR
Edit report at http://bugs.php.net/bug.php?id=53424&edit=1
ID: 53424
Updated by: dtajchreber@php.net
Reported by: myselfasunder at gmail dot com
Summary: passthru() and STDERR
-Status: Open
+Status: Bogus
Type: Bug
Package: Program Execution
Operating System: Windows 7
PHP Version: 5.2.14
Block user comment: N
Private report: N
New Comment:
passthru("$cmd 2>&1");
Previous Comments:
------------------------------------------------------------------------
[2010-11-29 21:26:52] myselfasunder at gmail dot com
Description:
------------
Please also display STDERR output. This is a request specific for
Windows. Obviously this isn't a problem under Linux.
Test script:
---------------
passthru('<command that only outputs STDERR>');
Expected result:
----------------
I expect everything from STDOUT and STDERR to be displayed.
Actual result:
--------------
Will output nothing (expect maybe a little whitespace).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53424&edit=1
Thread (9 messages)