##// END OF EJS Templates
dummyssh: make sure we don't inherit files descriptor to the children...
marmoute -
r48574:fb8389f2 stable
parent child Browse files
Show More
@@ -31,5 +31,5 b" if os.name == 'nt':"
31 hgcmd = shlex.join(cmds)
31 hgcmd = shlex.join(cmds)
32 # shlex generate windows incompatible string...
32 # shlex generate windows incompatible string...
33 hgcmd = hgcmd.replace("'", '"')
33 hgcmd = hgcmd.replace("'", '"')
34 r = subprocess.call(hgcmd, shell=True)
34 r = subprocess.call(hgcmd, shell=True, close_fds=True)
35 sys.exit(bool(r))
35 sys.exit(bool(r))
General Comments 0
You need to be logged in to leave comments. Login now