[nightly] 06-May-2005 build of
claus.reinke at talk21.com
Mon May 9 12:10:50 EDT 2005
definitely win98-specific. I don't recall that ever working, but
the last time I noticed and reported it was when our HaRe tests
were suspiciuously more successful on win98 than on winxp:-)
>>> - System.system now works, but always delivers ExitSuccess,
>>> unless the command is not found, which gives an exception?
>> That seems strange, it works with the 6.4 release:
>> Prelude> System.Cmd.system "exit 1" >>= print
>> ExitFailure 1
>> Perhaps another Win98-ism?
well, the whole report was about win98 issues (mostly resolved),
assuming that you can test on winxp yourself (although I also
tested things like Tess.hs while I was at it, and things like glut
missing will apply to all mingw snapshots).
>This still works for me with Sigbjorn's snapshot. Can you give us any
>more details, Claus?
what details would you like?
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.4.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done.
Prelude> System.Cmd.system "exit 1" >>= print
Prelude> System.Cmd.system "oops" >>= print
Befehl oder Dateiname nicht gefunden.
Prelude> System.Cmd.rawSystem "bash" ["-c","exit 1"] >>= print
Prelude> System.Cmd.rawSystem "bash" ["-c","oops"] >>= print
bash: line 1: oops: command not found
More information about the Cvs-ghc