Skip to content

Commit 35a67ed

Browse files
authored
Changed to use list instead of string for subprocess command. (#214)
1 parent 891528c commit 35a67ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OMPython/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,7 @@ def simulate(self, resultfile=None, simflags=None, verbose=True): # 11
12801280
currentDir = os.getcwd()
12811281
if (os.path.exists(getExeFile)):
12821282
cmd = getExeFile + override + csvinput + r + simflags
1283+
cmd = cmd.split(" ")
12831284
#print(cmd)
12841285
os.chdir(self.tempdir)
12851286
if (platform.system() == "Windows"):

0 commit comments

Comments
 (0)