From: rnv Date: Fri, 28 Aug 2020 21:01:06 +0000 (+0300) Subject: #19928 [CEA 19927] Folders with spaces. X-Git-Tag: V9_6_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fec2b41de24dbe30db7aa718780e9454904a3b69;p=modules%2Fkernel.git #19928 [CEA 19927] Folders with spaces. --- 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