From fec2b41de24dbe30db7aa718780e9454904a3b69 Mon Sep 17 00:00:00 2001 From: rnv Date: Sat, 29 Aug 2020 00:01:06 +0300 Subject: [PATCH] #19928 [CEA 19927] Folders with spaces. --- bin/launchConfigureParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index 46e7ff559..b3771c6a2 100644 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -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 -- 2.39.2