Skip to content

Commit

Permalink
Robustness/usage fixes for 'run_origen' poetry wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
corey committed Nov 7, 2023
1 parent fbb26b0 commit 698ef93
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/origen/origen/__bin__/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import subprocess
import pathlib


def run_origen():
subprocess.run(str(
pathlib.Path(__file__).parent.absolute().joinpath("bin").joinpath(
"origen")) + " " + " ".join(sys.argv[1:]),
shell=True)
subprocess.run([
pathlib.Path(__file__).parent.absolute().joinpath("bin").joinpath("origen"),
*sys.argv[1:]
], shell=True)

0 comments on commit 698ef93

Please sign in to comment.