[Haskell-cafe] System.Process

David Roundy droundy at darcs.net
Tue Sep 30 12:59:19 EDT 2008

On Tue, Sep 30, 2008 at 06:33:52PM +0200, Ketil Malde wrote:
> 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::

My point was that which of these is correct entirely depends on what
your input is.  It's often a huge (and security-bug-prone) chore to
escape all those shell characters, and so in many cases it's much
nicer to execute an external program direcly without invoking a


More information about the Haskell-Cafe mailing list