This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: incorrect exit status from cygwin exec to windows process
- To: cygwin-developers at cygwin dot com
- Subject: Re: incorrect exit status from cygwin exec to windows process
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 28 Feb 2001 14:07:56 -0500
- References: <000701c0a156$9b80e8f0$250ddb18@fision>
- Reply-To: cygwin-developers at cygwin dot com
On Tue, Feb 27, 2001 at 11:18:10PM -0800, Jason Gouger wrote:
>There appears to be some error when a cygwin process exec's another cygwin
>process, and returns the exit status to a windows process. The windows
>process receives a return code of '131072'. The problem appeared sometime
>after the cygwin 1.1.4 release.
This is how cygwin works. Since there is no such thing as exec in windows,
when process a execs process b, process a exits with a special status
flagging the owner of "process a" that an exec has occurred.
cgf