Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44099 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58255 invoked from network); 30 May 2009 02:50:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2009 02:50:28 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 74.125.46.30 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 74.125.46.30 yw-out-2324.google.com Received: from [74.125.46.30] ([74.125.46.30:32113] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9C/5C-28084-2FE902A4 for ; Fri, 29 May 2009 22:50:27 -0400 Received: by yw-out-2324.google.com with SMTP id 3so3244753ywj.83 for ; Fri, 29 May 2009 19:50:24 -0700 (PDT) Received: by 10.151.136.1 with SMTP id o1mr6529186ybn.100.1243651824274; Fri, 29 May 2009 19:50:24 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id 6sm6328402ywn.37.2009.05.29.19.50.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 May 2009 19:50:23 -0700 (PDT) Message-ID: <4A209EEC.4080809@chiaraquartet.net> Date: Fri, 29 May 2009 21:50:20 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Christopher Jones CC: PHP Developers Mailing List References: <4A207E15.9050000@chiaraquartet.net> <4A20803E.10305@oracle.com> In-Reply-To: <4A20803E.10305@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: (please ignore) Re: [PHP-DEV] phpize returns -1 From: greg@chiaraquartet.net (Greg Beaver) Christopher Jones wrote: > > > Greg Beaver wrote: >> Hi, >> >> Could someone fix phpize to make it return 0 on success? It always >> returns -1 when opened via proc_open(), which is exceedingly annoying >> when you're trying to use it in a PHP script. >> >> Thanks, >> Greg >> > > The bottom of phpize does return 0 and should be reached when all > works OK. I looked into a similar problem a while back. > > Are you seeing a signal handling issue like > http://bugs.php.net/bug.php?id=8992 ? > I still see pclose() return failure when I use --enable-sigchild. See > http://blogs.oracle.com/opal/2009/03/php_oci8_signal_handling_and_e_1.html Hi Chris, Thanks for the reply. I realized a few minutes ago that I was checking the wrong place for the exit code, sorry for the noise. Thanks, Greg