php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37604 status code is always -1
Submitted: 2006-05-26 16:28 UTC Modified: 2006-06-05 01:00 UTC
From: ph18 at cornell dot edu Assigned:
Status: No Feedback Package: Program Execution
PHP Version: 5.1.4 OS: Solaris 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ph18 at cornell dot edu
New email:
PHP Version: OS:

 

 [2006-05-26 16:28 UTC] ph18 at cornell dot edu
Description:
------------
The exit status code of any process I run through either system() or proc_open() is always -1

Reproduce code:
---------------
system("exit 12",$status_code)
print "[$status_code]";



Expected result:
----------------
12

Actual result:
--------------
-1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-28 15:17 UTC] iliaa@php.net
Did you compile your PHP with the --enable-sigchild flag?
 [2006-06-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC