Return Code
| From: | o dot cook at etoncollege dot org dot uk | Date: | Wed, 27 Dec 2000 19:17:31 +0000 |
| Subject: | Return Code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31991@lists.php.net to get a copy of this message | ||
How is it possible to get the return code from an external program?
For instance if I am running a PHP script from the commandline which
contains this command:
exec("/path/to/binary");
How would I get the exit code that the binary returns?
With regards,
Ollie
---
Do radioactive cats have 18 half-lives?
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x53D29567
---