|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2023 The PHP Group
All rights reserved.
Last updated: Thu Mar 23 02:03:37 2023 UTC