|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ph18 at cornell dot edu
New email:
PHP Version: OS:


 [2006-05-26 16:28 UTC] ph18 at cornell dot edu
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:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-28 15:17 UTC]
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: Mon Jul 22 20:01:29 2024 UTC