Skip to content

Commit

Permalink
Changed to use list instead of string for subprocess command. (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-emils committed May 7, 2024
1 parent 891528c commit 35a67ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OMPython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,7 @@ def simulate(self, resultfile=None, simflags=None, verbose=True): # 11
currentDir = os.getcwd()
if (os.path.exists(getExeFile)):
cmd = getExeFile + override + csvinput + r + simflags
cmd = cmd.split(" ")
#print(cmd)
os.chdir(self.tempdir)
if (platform.system() == "Windows"):
Expand Down

0 comments on commit 35a67ed

Please sign in to comment.