cvs commit:fptools/libraries/base/SystemCmd.hsfptools/ghc/compiler/mainSysTools.lhs

Sigbjorn Finne sof at galois.com
Mon Mar 15 07:17:27 EST 2004



> >
> > I'm getting my Win32 build of 6.2.1 up and running so I can test this.
>
> Indeed, after this change rawSystem on Win32 has bugs.  Strangely
> CreateProcess() does magically cope with spaces in the command name even
> if it isn't quoted, but gets confused (obviously) if there's an
> executable with the same basename as one of the directory components in
> the path.
>
> So, what goes wrong if the command name is quoted?  Seems to work fine
> here.
>

I've run into problems with quoting under Win9x in the past (different
project),
which lead me to mistrust the docs; no quotes + an explicit ".exe" extension
is
what I ended up with.

As is, (re-)introducing the use of command name quoting in ghc/compiler/
would
be  fatal.

--sigbjorn



More information about the Cvs-ghc mailing list