ID: 37604 Updated by: [EMAIL PROTECTED] 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