Bug #13233: exec function finishes it's job and returns unsuccess value..
| From: | vreddy at askjeeves dot com | Date: | Mon, 10 Sep 2001 15:45:28 +0000 |
| Subject: | Bug #13233: exec function finishes it's job and returns unsuccess value.. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65668@lists.php.net to get a copy of this message | ||
From: vreddy@askjeeves.com
Operating system: w2k
PHP version: 4.0.6
PHP Bug Type: IIS related
Bug description: exec function finishes it's job and returns unsuccess value..
I am trying to use the the exec function to run a .exe file. The .exe
file runs , and finishes it's job. But it is not returning success code.
My code is like this...
$execfeedback =exec("startApplication.exe filename=aaa Id1=0 Id2=0
trace=true") or die ("I died while running Application!");
startApplication.exe finished it's job successfully but it died by
printing "I died while running Application".
I am using php 4.0.6 on w2k and IIS.
--
Edit bug report at: http://bugs.php.net/?id=13233&edit=1