This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
cygwin's exit status / errorlevel
- From: Lapo Luchini <lapo at lapo dot it>
- To: Mailing List: CygWin <cygwin at cygwin dot com>
- Date: Wed, 07 May 2003 02:41:59 +0200
- Subject: cygwin's exit status / errorlevel
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@lapo.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/