diff --git a/gui/Executor.py b/gui/Executor.py index 9db9a62..4d604ca 100644 --- a/gui/Executor.py +++ b/gui/Executor.py @@ -59,7 +59,7 @@ class ExecFlowGraphThread(threading.Thread): if ('gnome-terminal' in xterm_executable): run_command_args = [xterm_executable, '--'] + run_command_args else: - run_command_args = [xterm_executable, '-e', run_command] + run_command_args = [xterm_executable, '-e'] + run_command_args # this does not reproduce a shell executable command string, if a graphical # terminal is used. Passing run_command though shlex_quote would do it but diff --git a/gui_qt/components/executor.py b/gui_qt/components/executor.py index 6a1ae4d..54e9c3b 100644 --- a/gui_qt/components/executor.py +++ b/gui_qt/components/executor.py @@ -50,7 +50,7 @@ class ExecFlowGraphThread(threading.Thread): if ('gnome-terminal' in xterm_executable): run_command_args = [xterm_executable, '--'] + run_command_args else: - run_command_args = [xterm_executable, '-e', run_command] + run_command_args = [xterm_executable, '-e'] + run_command_args # this does not reproduce a shell executable command string, if a graphical # terminal is used. Passing run_command though shlex_quote would do it but