Show More
@@ -391,7 +391,8 b' def system(cmd, environ={}, cwd=None, on' | |||
|
391 | 391 | return '1' |
|
392 | 392 | return str(val) |
|
393 | 393 | origcmd = cmd |
|
394 | if os.name == 'nt': | |
|
394 | if os.name == 'nt' and sys.version_info < (2, 7, 1): | |
|
395 | # Python versions since 2.7.1 do this extra quoting themselves | |
|
395 | 396 | cmd = '"%s"' % cmd |
|
396 | 397 | env = dict(os.environ) |
|
397 | 398 | env.update((k, py2shell(v)) for k, v in environ.iteritems()) |
General Comments 0
You need to be logged in to leave comments.
Login now