execute a command
| From: | Mattia | Date: | Sun, 22 Jun 2003 17:58:34 +0000 |
| Subject: | execute a command | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152456@lists.php.net to get a copy of this message | ||
How to execute a command capturing the stanndard error, in addition to standard output? example:
echo system('/bin/rm ...');
I need to know when this command fails, and when it fails, i need to know why. Any hints?
_Mattia_