Bugs item #1175454, was opened at 2005-04-02 18:03 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175454&group_id=8032
Category: libraries/base Group: 6.4 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: System.system fails on windows98se, also disables ghci's :! Initial Comment: as reported and discussed in the thread "win98, ctrl-c & System.system (was: Updated 6.4 Windows installer RC)" on glasgow-haskell-bugs. first messages in thread: http://www.haskell.org//pipermail/glasgow-haskell- bugs/2005-March/004856.html http://www.haskell.org//pipermail/glasgow-haskell- bugs/2005-March/004857.html Sigbjorn suggested a fix, getting the command interpreter to use from the environment instead of hardcoding it: http://www.haskell.org//pipermail/glasgow-haskell- bugs/2005-March/004862.html note that on my windows98se system, there is no command.exe, only command.com: $ echo $COMSPEC C:\WINDOWS\COMMAND.COM which does support the /c switch. Btw, I can't find a way to pass this switch through System.Cmd.rawSystem - can anyone enlighten me on how to do this? [EMAIL PROTECTED] ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2005-04-05 08:41 Message: Logged In: YES user_id=48280 I've fixed this, 6.4.1 should be better (though I can't test it, so I'd appreciate it if you would test a pre-release when the time comes). I can use rawSystem to invoke cmd.exe /c here. eg. this works: rawSystem "c:\windows\system32\cmd.exe" ["/c", "dir"] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175454&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs