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 vstinner
Recipients David.Benjamin, jcea, python-dev, vstinner
Date 2012-10-04.13:30:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349357458.36.0.542211458718.issue16112@psf.upfronthosting.co.za>
In-reply-to
Content
I did a similar commit two years ago, but I reverted it because I failed to find a solution for the bootstrap issue.

changeset:   60673:7c90ac194e40
branch:      legacy-trunk
parent:      60664:d7d5c76545fb
user:        Victor Stinner <victor.stinner@haypocalc.com>
date:        Sun Apr 18 09:07:49 2010 +0000
files:       Lib/platform.py
description:
platform: use subprocess.Popen() instead of os.popen() in _syscmd_file()

 * Popen() avoids ugly shell escape: target.replace('"', '\\"')
 * Use proc.communicate() instead of f.stdout.read()
 * Get output from stdout by splitting with ": " instead of splitting by spaces
   to support filename with spaces
History
Date User Action Args
2012-10-04 13:30:58vstinnersetrecipients: + vstinner, jcea, python-dev, David.Benjamin
2012-10-04 13:30:58vstinnersetmessageid: <1349357458.36.0.542211458718.issue16112@psf.upfronthosting.co.za>
2012-10-04 13:30:58vstinnerlinkissue16112 messages
2012-10-04 13:30:58vstinnercreate