logo       

RE: win98, ctrl-c & System.system (was: Updated 6.4 Windows installer RC): msg#00139

lang.haskell.glasgow.bugs

Subject: RE: win98, ctrl-c & System.system (was: Updated 6.4 Windows installer RC)

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise