Add exe suffix to reclient commands
Bug: b/250643500
Change-Id: I5da88a0a1c8d3797a2c553c4ab06f713c2853607
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4539481
Reviewed-by: Ramy Medhat <abdelaal@google.com>
Commit-Queue: Ben Segall <bentekkie@google.com>
diff --git a/reclient_helper.py b/reclient_helper.py
index 1570d49..cbe8623 100644
--- a/reclient_helper.py
+++ b/reclient_helper.py
@@ -45,15 +45,17 @@
def start_reproxy(reclient_cfg, reclient_bin_dir):
return run([
- os.path.join(reclient_bin_dir, 'bootstrap'),
- '--re_proxy=' + os.path.join(reclient_bin_dir, 'reproxy'),
+ os.path.join(reclient_bin_dir,
+ 'bootstrap' + gclient_paths.GetExeSuffix()), '--re_proxy=' +
+ os.path.join(reclient_bin_dir, 'reproxy' + gclient_paths.GetExeSuffix()),
'--cfg=' + reclient_cfg
])
def stop_reproxy(reclient_cfg, reclient_bin_dir):
return run([
- os.path.join(reclient_bin_dir, 'bootstrap'), '--shutdown',
+ os.path.join(reclient_bin_dir,
+ 'bootstrap' + gclient_paths.GetExeSuffix()), '--shutdown',
'--cfg=' + reclient_cfg
])