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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vreddy at askjeeves dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 17:01:30 2025 UTC