Force to use bash for simulators

This commit is contained in:
Bugra Onal 2023-08-10 16:05:24 -07:00
parent 1de6b9a0f6
commit 3f08c848d7
1 changed files with 1 additions and 1 deletions

View File

@ -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)