#5376: Quotation in System.Process.system for Windows
----------------------------------+-----------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/process | Version: 7.0.4
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
Comment(by simonmar):
The comment worries me a bit, because it implies that when I tried this
before it didn't work. Perhaps, as Brandon says, that is because the
behaviour changed in Windows at some point (though I find it slightly hard
to believe that this was on a Windows version earlier than XP).
Note that the behaviour should be much more reliable if you don't go via
`cmd`, and run the command directly. I believe we do get the quoting
right in that case.
If you want to take this forward, I suggest writing a few tests as well as
the patch itself.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5376#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs