This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.golden
Recipients tim.golden
Date 2008-03-16.16:32:16
SpamBayes Score 0.00013786997
Marked as misclassified No
Message-id <1205685138.96.0.183811169845.issue2304@psf.upfronthosting.co.za>
In-reply-to
Content
The subprocess.Popen function reorganises the command line for process
creation when shell=True is passed in under Windows. It runs the
existing executable & arguments as arguments to %COMSPEC% /c. However
this fails when a second parameter (typically a filename) has an
embedded space. The patch attached adds extra parameters in this case
and adds appropriate unit tests.

Frankly I'm new to unittests and I more-or-less cloned an existing one
to make this work. Happy to be corrected if there's things done wrong &c.
History
Date User Action Args
2008-03-16 16:32:19tim.goldensetspambayes_score: 0.00013787 -> 0.00013786997
recipients: + tim.golden
2008-03-16 16:32:19tim.goldensetspambayes_score: 0.00013787 -> 0.00013787
messageid: <1205685138.96.0.183811169845.issue2304@psf.upfronthosting.co.za>
2008-03-16 16:32:18tim.goldenlinkissue2304 messages
2008-03-16 16:32:17tim.goldencreate