##// END OF EJS Templates
procutil: port over windows encoding fixes from logtoprocess...
Augie Fackler -
r40533:8fab95aa default
parent child Browse files
Show More
@@ -481,8 +481,10 b' if pycompat.iswindows:'
481 481 # we can't use close_fds *and* redirect stdin. I'm not sure that we
482 482 # need to because the detached process has no console connection.
483 483 subprocess.Popen(
484 script, shell=shell, env=env, close_fds=True,
485 creationflags=_creationflags, stdout=stdout, stderr=stderr)
484 tonativestr(script),
485 shell=shell, env=tonativeenv(env), close_fds=True,
486 creationflags=_creationflags, stdout=stdout,
487 stderr=stderr)
486 488 else:
487 489 def runbgcommand(cmd, env, shell=False, stdout=None, stderr=None):
488 490 '''Spawn a command without waiting for it to finish.'''
General Comments 0
You need to be logged in to leave comments. Login now