##// 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 from __future__ import absolute_import
3 from __future__ import absolute_import
4
4
5 import os
5 import os
6 import subprocess
6 import sys
7 import sys
7
8
8 os.chdir(os.getenv('TESTTMP'))
9 os.chdir(os.getenv('TESTTMP'))
@@ -22,5 +23,5 b' hgcmd = sys.argv[2]'
22 if os.name == 'nt':
23 if os.name == 'nt':
23 # hack to make simple unix single quote quoting work on windows
24 # hack to make simple unix single quote quoting work on windows
24 hgcmd = hgcmd.replace("'", '"')
25 hgcmd = hgcmd.replace("'", '"')
25 r = os.system(hgcmd)
26 r = subprocess.call(hgcmd, shell=True)
26 sys.exit(bool(r))
27 sys.exit(bool(r))
General Comments 0
You need to be logged in to leave comments. Login now