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: <3EB85657.2040406@lapo.it> Date: Wed, 07 May 2003 02:41:59 +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: Mailing List: CygWin Subject: cygwin's exit status / errorlevel 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 I have a vague feeling that I already asked about this one.. but I can't find it on the archives, so I guess I forgot that or either the e-mail got lost by the server... anyway... Why is cygwin's exitstatus seen by "windows" as an errorlevel 256 times bigger? It is as if the exitstatus is the high byte of the errorlevel. But not on the command-line, only if called by another program (popen? I don't know what call does Mozilla use... but I can investigate). This leads to problems e.g. in mozilla's enigmail when using cygwin's gpg http://mozdev.org/bugs/show_bug.cgi?id=2366 -- 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/