# Python scripts
args[script_nam] = getScriptsAndArgs(cmd_args)
new_args = []
- if args[gui_nam]:
+ if args[gui_nam] and args["session_gui"]:
for d in args[script_nam]:
for s, a in d.items():
v = re.sub(r'^python.*\s+', r'', s)
commands = []
for sc_dict in scriptArgs:
for script, sc_args in sc_dict.items(): # single entry
- cmd = "@PYTHONBIN@ " + script
+ cmd = script
if sc_args:
cmd = cmd + " " + " ".join(sc_args)
commands.append(cmd)
if sys.platform == "win32":
sep= " & "
command = sep.join(["%s"%x for x in commands])
-
-
- command = "; ".join(["%s"%x for x in commands])
return command
#