This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] fixes incorrect exit status to windows process


On Thu, Mar 08, 2001 at 10:54:03PM -0800, Jason Gouger wrote:
>Here's another patch which fixes the problem in spawn_guts...

Thanks for the patch.  You tracked it down nicely.

I chose to use the ppid_handle test that I mentioned below but I have
checked something in which should fix the problem.

Thanks again.

cgf

>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>To: <cygwin-patches@cygwin.com>
>Sent: Sunday, March 04, 2001 8:58 PM
>Subject: Re: [PATCH] fixes incorrect exit status to windows process
>
>
>> It looks like you're on the right track, but I think it would
>> make sense to put this in spawn_guts somewhere where EXIT_REPARENTING
>> is being set.  Possibly you can avoid setting the EXIT_REPARENTING
>> bit entirely when !myself->ppid_handle (this is the best way to
>> find out if a cygwin application has been invoked from a non-cygwin
>> application).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]