php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3670 exec don't work as expected
Submitted: 2000-02-29 18:08 UTC Modified: 2000-07-26 14:16 UTC
From: nestor at tiendalinux dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Debian GNU/Linux Potato kernel 2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nestor at tiendalinux dot com
New email:
PHP Version: OS:

 

 [2000-02-29 18:08 UTC] nestor at tiendalinux dot com
The function exec, don't work as expected i use the same code in php3 and it always return the stdout of the program, but in php4 it don't work so i have to pass by reference an array , i.e. exec ("program", $array) for this to work, so i think there is a problem with the return value.

Thanks for your great work !!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 14:16 UTC] brad@php.net
exec should never output anything:

http://www.php.net/manual/html/function.exec.html
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC