Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 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/