[Haskell-cafe] Trouble with readProcess
Christian.Maeder at dfki.de
Thu Aug 11 17:11:32 CEST 2011
Am 11.08.2011 16:45, schrieb Charles-Pierre Astolfi:
> 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:
are you sure that your argument strings do not contain the quotes,
possibly by calling "show" on arguments that are already strings.
> $ 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?
More information about the Haskell-Cafe