delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: | Fri, 6 Dec 2002 13:29:47 -0500 |
From: | Christopher Faylor <cgf AT sources DOT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.3.15 on W2K: return codes, bash, cmd.exe |
Message-ID: | <20021206182947.GA23226@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20021205004220 DOT 5AA041D3D AT dragaera DOT ReleaseDominatrix DOT com> <u7kenluyi DOT fsf AT 127 DOT 0 DOT 0 DOT 1> <asqpnc$3bc$1 AT main DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <asqpnc$3bc$1@main.gmane.org> |
User-Agent: | Mutt/1.5.1i |
On Fri, Dec 06, 2002 at 10:19:30AM -0800, Shankar Unni wrote: >Stephen Powell wrote: > >>Try it without the /b, just "exit 1". > >Notice that she said she tried it, it works, but is not an option for >her because they need to be invoked from DOS command shells as well, and >she doesn't want the bat files to cause those shells to exit. Angela is a former valued colleague of mine from Cygnus and Red Hat days, so I offered some suggestions in private email. It looks like if she changes the invocation of her .bat files from just "foo.bat" to "cmd /c call foo.bat" then an "exit /b" in foo.bat will work correctly. I'm contemplating making a change to cygwin to cause this to be the default. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |