[issue8110] subprocess.py doesn't correctly detect Windows machines
Dave Fugate
report at bugs.python.org
Wed Mar 10 16:57:13 CET 2010
New submission from Dave Fugate <dfugate at microsoft.com>:
subprocess.py contains the following line (380 in CPython 2.6.3):
mswindows = (sys.platform == "win32")
which only correctly detects CPython on Windows. This line should be changed to:
mswindows = (sys.platform == "win32" or sys.platform == "cli" or sys.platform == "silverlight")
so subprocess can be utilized from IronPython as well.
This bug should be trivial to fix.
----------
components: Library (Lib)
messages: 100788
nosy: midnightdf
severity: normal
status: open
title: subprocess.py doesn't correctly detect Windows machines
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8110>
_______________________________________
More information about the Python-bugs-list
mailing list