[Haskell-cafe] Trouble with readProcess

Charles-Pierre Astolfi cpa at crans.org
Thu Aug 11 16:45:33 CEST 2011


Hi -cafe,

I'm using readProcess and I don't know how to handle this issue:

readProcess cmd [opt1,opt2] seems to execute the following:
$ cmd "opt1" "opt2"

That is usually fine, but I'm using an external program that doesn't
understand the quotes, so I need to execute instead:
$ cmd opt1 opt2

How should I do that?
--
Cp



More information about the Haskell-Cafe mailing list