Message7458
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). |
|
Date |
User |
Action |
Args |
2012-09-10 17:07:12 | olefevre | set | recipients:
+ olefevre |
2012-09-10 17:07:11 | olefevre | set | messageid: <1347296831.95.0.322116597063.issue1970@psf.upfronthosting.co.za> |
2012-09-10 17:07:11 | olefevre | link | issue1970 messages |
2012-09-10 17:07:11 | olefevre | create | |
|