RE: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-11 Thread Simon Marlow
Hi Claus, What API would you suggest? Perhaps: runProcessWin32 :: FilePath -- command - String -- argument string - ... - IO () I'd be inclined to put this in System.Win32, or perhaps System.Process.Win32, since we can't implement it in a sensible way on Unix.

Re: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-08 Thread Claus Reinke
If you look closely, you'll see that translate isn't applied to the argument to runCommand. There's no double-translation going on, we just pass the command line directly to cmd.exe/command.com. ah, sorry, I missed that extra-parameter backdoor, thanks!-) rawSystem needs to convert the [String]

RE: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-06 Thread Simon Marlow
On 05 April 2005 20:33, Claus Reinke wrote: Let me see if I get the call-chain correct (System.-prefix omitted): Cmd.rawSystem - Process.runProcess - Process.Internals.runProcessWin32 Cmd.system - Process.runCommand - Process.Internals.commandToProcess +

Re: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-05 Thread Claus Reinke
[don't want to reopen the ticket, don't like the mini comment field on sf, and I no longer trust the handling of \ on sf (see below); so I'll reply here] 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).

RE: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-05 Thread Simon Marlow
Hi Claus, I can't fathom what's going on with rawSystem on your box. Perhaps the Win98 version of command.com has different quoting semantics, which don't match what rawSystem is assuming. I don't imagine I'll be able to make much progress on that, but I'll be happy to incorporate a fix if

Re: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-05 Thread Claus Reinke
I can't fathom what's going on with rawSystem on your box. Perhaps the Win98 version of command.com has different quoting semantics, which don't match what rawSystem is assuming. I don't imagine I'll be able to make much progress on that, but I'll be happy to incorporate a fix if you can find