mercurial/win32.py
changeset 17428 72803c8edaa4
parent 17051 c5ed575f3137
child 18175 fd3f8b87b682
equal deleted inserted replaced
17427:57c6c24b9bc4 17428:72803c8edaa4
   326     if not env:
   326     if not env:
   327         env = '\0'
   327         env = '\0'
   328     env += '\0'
   328     env += '\0'
   329 
   329 
   330     args = subprocess.list2cmdline(args)
   330     args = subprocess.list2cmdline(args)
   331     # Not running the command in shell mode makes python26 hang when
   331     # Not running the command in shell mode makes Python 2.6 hang when
   332     # writing to hgweb output socket.
   332     # writing to hgweb output socket.
   333     comspec = os.environ.get("COMSPEC", "cmd.exe")
   333     comspec = os.environ.get("COMSPEC", "cmd.exe")
   334     args = comspec + " /c " + args
   334     args = comspec + " /c " + args
   335 
   335 
   336     res = _kernel32.CreateProcessA(
   336     res = _kernel32.CreateProcessA(