On Saturday 18 October 2003 4:04 pm, Claus Reinke wrote: > Shouldn't this return something other than ExitSuccess, occasionally?
I don't know if it's the same problem but... On Windows, Hugs' implementation of System.system always returns ExitSuccess because the Windows routine it calls doesn't return a useful exit status. My very vague memory from looking into this some years back was that DOS programs don't have a consistently interpreted exit status the way Unix programs do and use some kind of out-of-band communication to indicate failure to the caller. One would hope that cygwin would change this situation but, IIRC, ghc-compiled programs don't use cygwin so they can't benefit from having it work properly under cygwin... -- Alastair Reid _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
