]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PAL13554: Redesign options of runSalome.
authorjfa <jfa@opencascade.com>
Thu, 5 Apr 2007 13:03:11 +0000 (13:03 +0000)
committerjfa <jfa@opencascade.com>
Thu, 5 Apr 2007 13:03:11 +0000 (13:03 +0000)
bin/runSalome.py

index 34b4628a7a4112d33e14c35fa398192cc7638789..7c119c1fe5dfb792a4871d02d7ed76bc97abd8aa 100755 (executable)
@@ -866,7 +866,7 @@ def useSalome(args, modules_list, modules_root_dir):
                 scrname = toimport[ i ]
                 if len(scrname) > 2 and (len(scrname) - string.rfind(scrname, ".py") == 3):
                     print 'executing',scrname
-                    doexec = 'execfile(%s)'%scrname
+                    doexec = 'execfile(\"%s\")'%scrname
                     exec doexec
                 else:
                     print 'importing',scrname