php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13233 exec function finishes it's job and returns unsuccess value..
Submitted: 2001-09-10 11:45 UTC Modified: 2001-12-02 11:45 UTC
From: vreddy at askjeeves dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.6 OS: w2k
Private report: No CVE-ID: None
 [2001-09-10 11:45 UTC] vreddy at askjeeves dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-11 12:18 UTC] sander@php.net
Can you try an developmentversion from http://php-dev-win.dhs.org/?
There were a lot of bugs in exec-like functions in 4.0.6.
 [2001-12-02 11:45 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 16:01:31 2024 UTC