[Haskell-cafe] System.Process
Ketil Malde
ketil at malde.org
Tue Sep 30 12:33:52 EDT 2008
David Roundy <droundy at darcs.net> writes:
> Actually, it's no problem having any of those characters in your
> arguments,
My point is that using 'words' on the argument sting to 'runProcess' and
expecting the same result as 'runCommand' implies making those assumptions::
Prelude System.Process> let args = "_* foo \"bar rab\" $$"
Prelude System.Process> runProcess "echo" (words args) Nothing Nothing Nothing Nothing Nothing
_* foo "bar rab" $$
Prelude System.Process> runCommand ("echo "++args)
_darcs foo bar rab 2121
-k
--
If I haven't seen further, it is by standing in the footprints of giants
More information about the Haskell-Cafe
mailing list