From 3f08c848d74258d38530fc6158a7be6154efa4bd Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Thu, 10 Aug 2023 16:05:24 -0700 Subject: [PATCH] Force to use bash for simulators --- compiler/characterizer/stimuli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/characterizer/stimuli.py b/compiler/characterizer/stimuli.py index 45997b7e..c4aa92a9 100644 --- a/compiler/characterizer/stimuli.py +++ b/compiler/characterizer/stimuli.py @@ -410,7 +410,7 @@ class stimuli(): # FIXME: Should use verify/run_script.py here but run_script doesn't return # the return code of the subprocess. File names might also mismatch. from openram import CONDA_HOME - cmd = "source {0}/bin/activate && {1} && conda deactivate".format(CONDA_HOME, cmd) + cmd = "/bin/bash -c 'source {0}/bin/activate && {1} && conda deactivate'".format(CONDA_HOME, cmd) debug.info(2, cmd) proc = subprocess.run(cmd, stdout=spice_stdout, stderr=spice_stderr, shell=True)