win98,
ctrl-c & System.system (was: Updated 6.4 Windows installer RC)
Simon Marlow
simonmar at microsoft.com
Wed Mar 23 12:10:27 EST 2005
On 23 March 2005 17:06, Claus Reinke wrote:
>> There's no such thing as cmd.exe on Win9x, it's COMMAND.EXE/COM.
>
> on my win98se system, there's no COMMAND.EXE, either, only
> COMMAND.COM.
>
>> Some System.Process.* code ought to be looking at the COMSPEC env
>> variable and not hard-code the name of the command processor. ....
>> why the switch away from just using libc/msvcrt's system() for
>> System.system?
>
> agreed, on both counts. sounds like a case of "never change a winning
> team", not. but I guess when one introduces a new framework for
> rawSystem, one wants to keep only one way of doing things instead of
> two?
Spot on. It's an issue of code maintainability, and consistency between
System.system and System.Process.runCommand.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list