![](https://secure.gravatar.com/avatar/12362ecee4672f1dd2d641ce5b4eca14.jpg?s=120&d=mm&r=g)
Brian Quinlan wrote:
Michael wrote:
Hmm. What happens in this instance on Windows? We should probably try to make the behaviour consistent.
But quoting in sh is a quick way to insanity.
cmd.exe and sh do the same thing: they collect quoted arguments into one command argument and remove the quotes. So the solution seems pretty simple: just replace all instances of " with \"
I suppose we should add an API for shell quoting to util.py... provided we can come up with a sane standard for quoting. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/