]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
#19928 [CEA 19927] Folders with spaces.
authorrnv <rnv@opencascade.com>
Fri, 28 Aug 2020 21:01:06 +0000 (00:01 +0300)
committerrnv <rnv@opencascade.com>
Fri, 28 Aug 2020 21:01:06 +0000 (00:01 +0300)
bin/launchConfigureParser.py

index 46e7ff55974c14497fad2575d4821735c30025ce..b3771c6a2406fea25b56ad86340e094f04fab0e1 100644 (file)
@@ -1029,7 +1029,7 @@ def get_env(appname=salomeappname, cfgname=salomecfgname, exeName=None, keepEnvi
     if args[gui_nam] and args["session_gui"]:
         new_args = []
         for sa_obj in args[script_nam]:  # args[script_nam] is a list of ScriptAndArgs objects
-            script = re.sub(r'^python.*\s+', r'', sa_obj.script)
+            script = re.sub(r'^python. *\s+', r'', sa_obj.script)
             new_args.append(ScriptAndArgs(script=script, args=sa_obj.args, out=sa_obj.out))
         #
         args[script_nam] = new_args