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 LCY
Recipients LCY, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-04-07.11:28:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491564483.72.0.230621154457.issue30015@psf.upfronthosting.co.za>
In-reply-to
Content
Windows also treats full-width spaces as a delimiter when parsing command line arguments.

Therefore, subprocess.run() and subprocess.Popen() also need to quote the arg in the sequence of arguments if there is any full-width spaces in it.

Example:

>> subprocess.run(['foo', 'half-width space', 'full-width space'])

should be executed as 
>> foo "half-width space" "full-width space"
Windows will treat it as 3 arguments

but now it is incorrectly executed as 
>> foo "half-width space" full-width space
Windows will treat it as 4 arguments
History
Date User Action Args
2017-04-07 11:28:03LCYsetrecipients: + LCY, paul.moore, tim.golden, zach.ware, steve.dower
2017-04-07 11:28:03LCYsetmessageid: <1491564483.72.0.230621154457.issue30015@psf.upfronthosting.co.za>
2017-04-07 11:28:03LCYlinkissue30015 messages
2017-04-07 11:28:03LCYcreate