mercurial/posix.py
changeset 37459 90c5ca718781
parent 37095 e24802ea8dbd
child 37460 a6c6b7beb025
equal deleted inserted replaced
37458:00e4bd97b095 37459:90c5ca718781
   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: