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 <[email protected]> wrote: > Quoth Charles-Pierre Astolfi <[email protected]>, > >> 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
