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 flox
Recipients JosephArmbruster, brian.curtin, flox, georg.brandl, loewis, pjenvey, squeegee
Date 2010-01-15.08:52:19
SpamBayes Score 0.009989529
Marked as misclassified No
Message-id <1263545541.9.0.901105416318.issue1559298@psf.upfronthosting.co.za>
In-reply-to
Content
It is on Python 2.7a2

>>> os.popen('"C:\\Python27\\python.exe" -c "import sys; print sys.argv" 42').read()
''

>>> os.popen('""C:\\Python27\\python.exe" -c "import sys; print sys.argv" 42"').read()
"['-c', '42']\n"

>>> os.popen3('"C:\\Python27\\python.exe" -c "import sys; print sys.argv" 42')[2].read()
'\'C:\\Python27\\python.exe" -c "import\' est pas reconnu en tant que commande interne ou externe, un programme executable ou un fichier de commandes.\n'

It may be related to the test_popen failure.
Actually, it seems that the outer double quotes are removed before executing the cmdstring:
  C:\Python27\python.exe" -c "import
 ^                                  ^
History
Date User Action Args
2010-01-15 08:52:22floxsetrecipients: + flox, loewis, georg.brandl, pjenvey, JosephArmbruster, brian.curtin, squeegee
2010-01-15 08:52:21floxsetmessageid: <1263545541.9.0.901105416318.issue1559298@psf.upfronthosting.co.za>
2010-01-15 08:52:20floxlinkissue1559298 messages
2010-01-15 08:52:19floxcreate