Message7458

Author olefevre
Recipients olefevre
Date 2012-09-10.17:07:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347296831.95.0.322116597063.issue1970@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-09-10 17:07:12olefevresetrecipients: + olefevre
2012-09-10 17:07:11olefevresetmessageid: <1347296831.95.0.322116597063.issue1970@psf.upfronthosting.co.za>
2012-09-10 17:07:11olefevrelinkissue1970 messages
2012-09-10 17:07:11olefevrecreate