Bug #14747: Return exitcodes to shell ($?)
| From: | bernd dot herbold at gmx dot de | Date: | Fri, 28 Dec 2001 21:39:37 +0000 |
| Subject: | Bug #14747: Return exitcodes to shell ($?) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75222@lists.php.net to get a copy of this message | ||
From: bernd.herbold@gmx.de
Operating system:
PHP version: 4.1.1
PHP Bug Type: Feature/Change Request
Bug description: Return exitcodes to shell ($?)
Hi,
I tried to use PHP in connection with shellprogramming.
I would be fine if you could return exit codes to shellscripts. So that you
can use something like "if [ $? -eq 0 ]" to test if the PHP-Script had run
succesful.
So wouldn`t need to use Perl in future.
--
Edit bug report at: http://bugs.php.net/?id=14747&edit=1