New submission from Dave Fugate <dfug...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8110>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to