equal
deleted
inserted
replaced
467 if val is True: |
467 if val is True: |
468 return '1' |
468 return '1' |
469 return str(val) |
469 return str(val) |
470 origcmd = cmd |
470 origcmd = cmd |
471 cmd = quotecommand(cmd) |
471 cmd = quotecommand(cmd) |
472 if sys.platform == 'plan9': |
472 if sys.platform == 'plan9' and (sys.version_info[0] == 2 |
|
473 and sys.version_info[1] < 7): |
473 # subprocess kludge to work around issues in half-baked Python |
474 # subprocess kludge to work around issues in half-baked Python |
474 # ports, notably bichued/python: |
475 # ports, notably bichued/python: |
475 if not cwd is None: |
476 if not cwd is None: |
476 os.chdir(cwd) |
477 os.chdir(cwd) |
477 rc = os.system(cmd) |
478 rc = os.system(cmd) |