equal
deleted
inserted
replaced
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( |