From: jfa Date: Thu, 5 Apr 2007 13:03:11 +0000 (+0000) Subject: PAL13554: Redesign options of runSalome. X-Git-Tag: V3_2_6pre4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6386f07d3898290629f0cdb3e9c8691228120231;p=modules%2Fkernel.git PAL13554: Redesign options of runSalome. --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 34b4628a7..7c119c1fe 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -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