php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10522 system and exec doesn't return output
Submitted: 2001-04-27 03:59 UTC Modified: 2001-05-24 15:31 UTC
From: ommadawn at club-internet dot fr Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.2 OS: win32
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: ommadawn at club-internet dot fr
New email:
PHP Version: OS:

 

 [2001-04-27 03:59 UTC] ommadawn at club-internet dot fr
$r = exec("D:\blah\CGI-Bin\gen_mi.exe ".trim($cmd), $result);

print $result[0];

It works fine with php3 but not with php4.0 .. 4.2 (win32)
it returns nothing.

Same problem with system command

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-27 04:15 UTC] derick@php.net
Can you try php 4.0.5 when it comes out on Tuesday? There where a lot of windows related fixes since 4.0.2
 [2001-04-28 16:04 UTC] derick@php.net
This should be fixed in CVS. Please reopen if it isn't fixed in PHHP 4.0.5 when it's released.

Derick
 [2001-05-24 03:01 UTC] ommadawn at club-internet dot fr
Doesn't seem to wotk on PHP 4.0.5 Win32
 [2001-05-24 15:31 UTC] sniper@php.net
You will have to wait for PHP 4.0.6 which will fix this.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 09:01:28 2024 UTC