[Distutils] Possible Distutils shell processing bug

M.-A. Lemburg mal@lemburg.com
Mon Jan 14 05:22:04 2002


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/