This is the mail archive of the
cygwin
mailing list for the Cygwin project.
reverted (to some degree) cygwin exit value presented to non-cygwin processes
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 8 Mar 2005 11:29:47 -0500
- Subject: reverted (to some degree) cygwin exit value presented to non-cygwin processes
- Reply-to: cygwin at cygwin dot com
I've added a change to cygwin which causes exit values to be right
shifted by eight bits when a process knows that it has been started from
a windows process.
This means that if a process exits with a status code of "1", windows
will see an exit code of "1" rather than "256".
FWIW, I'm making this change despite the rude personal email I received
about the current exit code behavior although it was, as always,
tempting to leave this as-is in face of the querulous complaints,
demands, and threats.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/