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)