System.Process.system in Windows

Brandon Allbery allbery.b at gmail.com
Thu Aug 4 01:54:21 CEST 2011


On Wed, Aug 3, 2011 at 18:57, <wagnerdm at seas.upenn.edu> wrote:

> (And in any case, the examples above should answer this amusing comment,
> immediately following those lines:
>
>        -- We don't want to put the cmd into a single
>        -- argument, because cmd.exe will not try to split it up.  Instead,
>        -- we just tack the command on the end of the cmd.exe command line,
>        -- which partly works.  There seem to be some quoting issues, but
>        -- I don't have the energy to find+fix them right now (ToDo). --SDM
>        -- (later) Now I don't know what the above comment means.  sigh.
>

What that comment means is that how CMD.EXE handles spaces is
Windows-version-dependent.  On the other hand, I *think* it's mostly
consistent between XP and Windows 7 --- and I feel sorry for anyone forced
to use an older version.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20110803/6eb71f68/attachment.htm>


More information about the Glasgow-haskell-users mailing list