|
Re: ghc 6.0.1 win98 System.system too successful?: msg#00033lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ghc 6.0.1 win98 System.system too successful?, Claus Reinke |
|---|---|
| Next by Date: | RE: GHC 6.0 (Sparc-Solaris) bug, Simon Peyton-Jones |
| Previous by Thread: | ghc 6.0.1 win98 System.system too successful?, Claus Reinke |
| Next by Thread: | Re: ghc 6.0.1 win98 System.system too successful?, Claus Reinke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |