Message171942
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 |
|
Date |
User |
Action |
Args |
2012-10-04 13:30:58 | vstinner | set | recipients:
+ vstinner, jcea, python-dev, David.Benjamin |
2012-10-04 13:30:58 | vstinner | set | messageid: <1349357458.36.0.542211458718.issue16112@psf.upfronthosting.co.za> |
2012-10-04 13:30:58 | vstinner | link | issue16112 messages |
2012-10-04 13:30:58 | vstinner | create | |
|