Bug #13512: The backtick operator only returns stdout, not stderr

From: Date: Tue, 02 Oct 2001 14:27:43 +0000
Subject: Bug #13512: The backtick operator only returns stdout, not stderr
Groups: php.dev 
Request: Send a blank email to php-dev+get-67039@lists.php.net to get a copy of this message
From: strecket@hotmail.com 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

« previous php.dev (#67039) next »