From 14ed79a324a7cce68d9332e5725d6b04846663e8 Mon Sep 17 00:00:00 2001 From: Johannes Emilsson Date: Tue, 7 May 2024 08:22:17 +0200 Subject: [PATCH] Changed to use list instead of string for subprocess command. --- OMPython/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OMPython/__init__.py b/OMPython/__init__.py index 72efb31..f2d1b42 100755 --- a/OMPython/__init__.py +++ b/OMPython/__init__.py @@ -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"):