tests/dummyssh
branchstable
changeset 47774 fb8389f227a0
parent 47641 5d9f89cd4984
child 48875 6000f5b25c9b
equal deleted inserted replaced
47773:a8deb9dc39da 47774:fb8389f227a0
    29         python_exe = os.environ['PYTHON']
    29         python_exe = os.environ['PYTHON']
    30         cmds.insert(0, python_exe)
    30         cmds.insert(0, python_exe)
    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))