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 Arfrever, David.Benjamin, christian.heimes, jcea, lemburg, pitrou, python-dev, vstinner
Date 2016-09-09.07:38:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Note: Other platform functions still use os.popen(), you might open new issues.


    for cmd in ('ver', 'command /c ver', 'cmd /c ver'):
            pipe = os.popen(cmd)

def _syscmd_uname(option, default=''):
        f = os.popen('uname %s 2> %s' % (option, DEV_NULL))

Note: there is also platform.popen() which is deprecated since Python 3.3, we might also remove it from Python 3.7 as well (I think that it's now too late for Python 3.6).
Date User Action Args
2016-09-09 07:38:04vstinnersetrecipients: + vstinner, lemburg, jcea, pitrou, christian.heimes, Arfrever, python-dev, David.Benjamin
2016-09-09 07:38:04vstinnersetmessageid: <>
2016-09-09 07:38:04vstinnerlinkissue16112 messages
2016-09-09 07:38:04vstinnercreate