[nightly] 06-May-2005 build of
STABLEoni386-unknown-mingw32(bling)
Claus Reinke
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:-)
http://www.haskell.org/pipermail/glasgow-haskell-users/2004-March/006402.html
>>> - 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?
Cheers,
Claus
-------------
$ uname
CYGWIN_98-4.10
$ ghcii.sh
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | 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
ExitSuccess
Prelude> System.Cmd.system "oops" >>= print
Befehl oder Dateiname nicht gefunden.
ExitSuccess
Prelude> System.Cmd.rawSystem "bash" ["-c","exit 1"] >>= print
ExitFailure 1
Prelude> System.Cmd.rawSystem "bash" ["-c","oops"] >>= print
bash: line 1: oops: command not found
ExitFailure 127
More information about the Cvs-ghc
mailing list