delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/02/16:16:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 2 Mar 2005 16:17:03 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: More error level issues
Message-ID: <20050302211703.GB25089@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <001d01c51f66$9de4ccf0$05010e0a AT 2mbit DOT com> <20050302204530 DOT GA25089 AT trixie DOT casa DOT cgf DOT cx> <004701c51f6a$93aba020$05010e0a AT 2mbit DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019