On Tue, 2008-09-30 at 09:30 -0700, Jonathan Cast wrote:
> 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;

No it's not...  Never mind.

jcc


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to