equal
deleted
inserted
replaced
536 def shellsplit(s): |
536 def shellsplit(s): |
537 """Parse a command string in POSIX shell way (best-effort)""" |
537 """Parse a command string in POSIX shell way (best-effort)""" |
538 return pycompat.shlexsplit(s, posix=True) |
538 return pycompat.shlexsplit(s, posix=True) |
539 |
539 |
540 |
540 |
541 def quotecommand(cmd): |
|
542 return cmd |
|
543 |
|
544 |
|
545 def testpid(pid): |
541 def testpid(pid): |
546 '''return False if pid dead, True if running or not sure''' |
542 '''return False if pid dead, True if running or not sure''' |
547 if pycompat.sysplatform == b'OpenVMS': |
543 if pycompat.sysplatform == b'OpenVMS': |
548 return True |
544 return True |
549 try: |
545 try: |