note 5782 deleted from popen by ronabop
| From: | ronabop@php.net | Date: | Fri, 10 Nov 2000 03:12:35 +0000 |
| Subject: | note 5782 deleted from popen by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7558@lists.php.net to get a copy of this message | ||
Most commands sends error messages to stderr, but the file descriptor returned by popen only permits
reading from stdout. On unix, this can be changed by adding "2>&1" at the end of
the command, but there is nothing similiar under DOS. Does anybody know how to get the stderr data
from a PHP script?