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 Message-ID: <3EB8B535.3030303@lapo.it> Date: Wed, 07 May 2003 09:26:45 +0200 From: Lapo Luchini User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030410 X-Accept-Language: it, en, fr, es MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin's exit status / errorlevel References: <3EB85657 DOT 2040406 AT lapo DOT it> <20030507015801 DOT GG10709 AT redhat DOT com> In-Reply-To: <20030507015801.GG10709@redhat.com> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher Faylor wrote: >On Wed, May 07, 2003 at 02:41:59AM +0200, Lapo Luchini wrote: > > >>Why is cygwin's exitstatus seen by "windows" as an errorlevel 256 times >>bigger? >> >> >This question is answered right in the first few sentences of the main >cygwin web pag > I guess you meant that it "acts as a Linux emulation layer providing substantial Linux API functionality" and a correct Linux API should return exidcode in the high byte? I was mainly referring to the strangeness that windows errorlevel is set correct but executing from Mozilla does not... anyway, I guess enigmail people should continue on their "let's convert any 256 errorcode to 2 and assume it is cygwin's fault". -- Lapo 'Raist' Luchini lapo AT lapo DOT it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- 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/