From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30482 invoked by alias); 26 May 2011 05:47:25 -0000 Received: (qmail 30469 invoked by uid 22791); 26 May 2011 05:47:24 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm24-vm2.bullet.mail.ne1.yahoo.com (HELO nm24-vm2.bullet.mail.ne1.yahoo.com) (98.138.91.212) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 26 May 2011 05:47:09 +0000 Received: from [98.138.90.55] by nm24.bullet.mail.ne1.yahoo.com with NNFMP; 26 May 2011 05:47:08 -0000 Received: from [98.138.84.46] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 26 May 2011 05:47:08 -0000 Received: from [127.0.0.1] by smtp114.mail.ne1.yahoo.com with NNFMP; 26 May 2011 05:47:08 -0000 X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from cgf.cx (cgf@173.48.46.160 with login) by smtp114.mail.ne1.yahoo.com with SMTP; 25 May 2011 22:47:07 -0700 PDT Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 496B742804D for ; Thu, 26 May 2011 01:47:06 -0400 (EDT) Date: Thu, 26 May 2011 05:47:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong Message-ID: <20110526054705.GB22790@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0C817B08-1920-43DB-B9A0-26E4B2E362EA@apple.com> <4DDD0F23.5000807@sidefx.com> <20110525141942.GA22790@ednor.casa.cgf.cx> <6D93D09A-BA8D-4975-A17C-81A5DC4BDF91@apple.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D93D09A-BA8D-4975-A17C-81A5DC4BDF91@apple.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00380.txt.bz2 On Wed, May 25, 2011 at 07:20:35PM -0700, John Dong wrote: >It's nice to hear from Edward that we're not the only ones to notice >this behavior. > >Of course, patches would be nice, and I would be interested in digging >in into this if someone familiar with Cygwin's codebase would be >willing to enlighten me as to the codepath for grabbing Win32 process >exit codes and how it differs from "Cygwin processes". Look in pinfo.cc and sigproc.cc. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple