From:             [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:      4.0.5
PHP Bug Type:     Feature/Change Request
Bug description:  The backtick operator only returns stdout, not stderr

If I use the backtick operator, like:

 $output = `command goes here`;

and if the program 'command' returns its output to stderr and not stdout,
then it's not easy to get the output.

Right now, it can be solved by adding:

 2> /tmp/file/here

and then reading the file in the script, but that's not a good solution.
-- 
Edit bug report at: http://bugs.php.net/?id=13512&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to