On Tue, 2008-09-30 at 18:33 +0200, Ketil Malde wrote: > 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
This behavior is Windows-specific; I get the the same result in both cases on Linux. jcc _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe