cygwin's exit status / errorlevel

Lapo Luchini lapo@lapo.it
Wed May 7 07:26:00 GMT 2003


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@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/



More information about the Cygwin mailing list