##// END OF EJS Templates
dummyssh: use subprocess instead of os.call...
marmoute -
r48440:119673fb default
parent child Browse files
Show More
@@ -3,6 +3,7 b''
3 3 from __future__ import absolute_import
4 4
5 5 import os
6 import subprocess
6 7 import sys
7 8
8 9 os.chdir(os.getenv('TESTTMP'))
@@ -22,5 +23,5 b' hgcmd = sys.argv[2]'
22 23 if os.name == 'nt':
23 24 # hack to make simple unix single quote quoting work on windows
24 25 hgcmd = hgcmd.replace("'", '"')
25 r = os.system(hgcmd)
26 r = subprocess.call(hgcmd, shell=True)
26 27 sys.exit(bool(r))
General Comments 0
You need to be logged in to leave comments. Login now