equal
deleted
inserted
replaced
467 return pycompat.shlexsplit(s, posix=True) |
467 return pycompat.shlexsplit(s, posix=True) |
468 |
468 |
469 def quotecommand(cmd): |
469 def quotecommand(cmd): |
470 return cmd |
470 return cmd |
471 |
471 |
472 def popen(command, mode='r'): |
|
473 return os.popen(command, mode) |
|
474 |
|
475 def testpid(pid): |
472 def testpid(pid): |
476 '''return False if pid dead, True if running or not sure''' |
473 '''return False if pid dead, True if running or not sure''' |
477 if pycompat.sysplatform == 'OpenVMS': |
474 if pycompat.sysplatform == 'OpenVMS': |
478 return True |
475 return True |
479 try: |
476 try: |