New submission from Olivier Lefevre:
On Windows the call to os.popen('uname %s 2> /dev/null' % option) will print a message saying the file (i.e., /dev/null) cannot be found, which pollutes the output. Ironically it is precisely to prevent such pollution when uname is not found that uname stderr is redirected to /dev/null.
The sys.platform check at the start of _syscmd_uname is useless as currently written because under jython sys.platform is 'javaxxx', which masks the "true" platform (or at least the relevant one for this operation).
title: Minor issue in _syscmd_uname (platform.py)
Jython tracker <report@...>
Get latest updates about Open Source Projects, Conferences and News.