diff --git a/one_click.py b/one_click.py index 0a0412ba07..d35ecc8923 100644 --- a/one_click.py +++ b/one_click.py @@ -190,7 +190,7 @@ def run_cmd(cmd, assert_success=False, environment=False, capture_output=False, cmd = f'. "{conda_sh_path}" && conda activate "{conda_env_path}" && {cmd}' # Run shell commands - result = subprocess.run(cmd, shell=True, capture_output=capture_output, env=env) + result = subprocess.run(cmd, shell=True, executable='/bin/bash', capture_output=capture_output, env=env) # Assert the command ran successfully if assert_success and result.returncode != 0: