
I've found my mistake: I was calling readProcess cmd ["-p -t"] instead
of readProcess cmd ["-p","-t"]
Not sure what are the semantics of quotation in this case, though. And
I'm pretty sure my analysis is wrong because of that :)
--
Cp
On Thu, Aug 11, 2011 at 16:05, Donn Cave
Quoth Charles-Pierre Astolfi
, 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?
Donn
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe