incorrect exit status from cygwin exec to windows process

Christopher Faylor
Wed Feb 28 11:08:00 GMT 2001

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.


More information about the Cygwin-developers mailing list