Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 2 Mar 2005 16:17:03 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: More error level issues
Message-ID: <20050302211703.GB25089@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <001d01c51f66$9de4ccf0$05010e0a@2mbit.com> <20050302204530.GA25089@trixie.casa.cgf.cx> <004701c51f6a$93aba020$05010e0a@2mbit.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <004701c51f6a$93aba020$05010e0a@2mbit.com>
User-Agent: Mutt/1.4.1i

On Wed, Mar 02, 2005 at 03:58:22PM -0500, Brian Bruns wrote:
>On Wednesday, March 02, 2005 3:45 PM [EST], Christopher Faylor wrote:
>> http://sources.redhat.com/ml/cygwin/2005-01/msg01382.html
>
>Yeah, I know of that post.  I'm still _highly_ confused as to this -
>chalk it up to the fact I'm more used to dealing with return codes in
>Linux, so forgive my ignorance.  I'm also not the greatest programmer
>in the world.
>
>Your telling me an exit code of 1 inside of cygwin (and Linux for that
>matter) is supposed to be considered as errorlevel 256 by Windows
>rather then 1?  I'm sorry if I am not catching on here entirely of why
>this is.

The referenced message tells you exactly what you should expect at the
DOS prompt if a cygwin program exits with a status of "1", i.e., you
should expect a "256".

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/

