Skip to content

Commit

Permalink
fix: capture simulation output so it doesn't show in the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Sep 11, 2023
1 parent eb17120 commit e47d8db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openfasoc/generators/common/simulation/simulation_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _threaded_run(
f"sim_{run_number}.sp"
],
cwd=run_dir,
capture_output=False
capture_output=True
)
elif sim_tool == "xyce":
subprocess.run(
Expand All @@ -117,7 +117,7 @@ def _threaded_run(
f"sim_{run_number}.sp"
],
cwd=run_dir,
capture_output=False
capture_output=True
)
elif sim_tool == "finesim":
subprocess.run(
Expand All @@ -129,7 +129,7 @@ def _threaded_run(
f"sim_{run_number}.sp"
],
cwd=run_dir,
capture_output=False
capture_output=True
)
except:
return on_exit(1)
Expand Down

0 comments on commit e47d8db

Please sign in to comment.