[Haskell-cafe] Trouble with readProcess

Donn Cave donn at avvanta.com
Thu Aug 11 17:05:27 CEST 2011

Quoth Charles-Pierre Astolfi <cpa at crans.org>,

> 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?

I think your analysis is wrong.  I don't know what to suggest,
though if you follow up you probably should mention what platform
you're running on.  Maybe you could devise a simple test program
that illustrates the problem?


More information about the Haskell-Cafe mailing list