]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Use AdaoSchemaCreator wit python
authorAndré Ribes <andre.ribes@edf.fr>
Tue, 18 Jan 2011 12:57:46 +0000 (13:57 +0100)
committerAndré Ribes <andre.ribes@edf.fr>
Tue, 18 Jan 2011 12:57:46 +0000 (13:57 +0100)
src/daSalome/daGUI/daGuiImpl/adaoCase.py

index 02885670fdf01037f95576efbbb326bbe454cfc5..ea665b8b46a4ccc792e67a08168d67369e17421b 100644 (file)
@@ -60,7 +60,7 @@ class AdaoCase:
     adao_path = os.environ["ADAO_ROOT_DIR"]
     adao_exe = adao_path + "/bin/salome/AdaoYacsSchemaCreator.py"
     self.__yacs_filename = self.__filename[:self.__filename.rfind(".")] + '.xml'
-    args = [adao_exe, filename, self.__yacs_filename]
+    args = ["python", adao_exe, filename, self.__yacs_filename]
     p = subprocess.Popen(args)
     (stdoutdata, stderrdata) = p.communicate()
     if not os.path.exists(self.__yacs_filename):