#37604 [Opn->Fbk]: status code is always -1

From: Date: Sun, 28 May 2006 15:17:53 +0000
Subject: #37604 [Opn->Fbk]: status code is always -1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97700@lists.php.net to get a copy of this message
ID: 37604 Updated by: iliaa@php.net Reported By: ph18 at cornell dot edu -Status: Open +Status: Feedback Bug Type: Program Execution Operating System: Solaris 9 PHP Version: 5.1.4 New Comment: Did you compile your PHP with the --enable-sigchild flag? Previous Comments: ------------------------------------------------------------------------ [2006-05-26 16:28:09] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37604&edit=1

« previous php.bugs (#97700) next »