mercurial/posix.py
changeset 44867 8e8fd938ca07
parent 44306 a0ec05d93c8e
child 45717 755214a84b9d
equal deleted inserted replaced
44866:5258bffdb1d6 44867:8e8fd938ca07
   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: