David Roundy <[EMAIL PROTECTED]> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to