diff --git a/tests/dummyssh b/tests/dummyssh --- a/tests/dummyssh +++ b/tests/dummyssh @@ -31,5 +31,5 @@ hgcmd = shlex.join(cmds) # shlex generate windows incompatible string... hgcmd = hgcmd.replace("'", '"') -r = subprocess.call(hgcmd, shell=True) +r = subprocess.call(hgcmd, shell=True, close_fds=True) sys.exit(bool(r))