From b47c0f78904891e14b0080a9c32d8c6348837c5e Mon Sep 17 00:00:00 2001 From: chriskiehl Date: Sun, 10 Jan 2016 00:16:01 -0500 Subject: [PATCH] Append subparser's endpoint to the command string --- gooey/gui/model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gooey/gui/model.py b/gooey/gui/model.py index 0f683b4..af28799 100644 --- a/gooey/gui/model.py +++ b/gooey/gui/model.py @@ -185,6 +185,8 @@ class MyModel(object): if position_args: position_args.insert(0, "--") cmd_string = ' '.join(filter(None, chain(required_args, optional_args, position_args))) + if self.layout_type == 'column': + cmd_string = '{} {}'.format(self.argument_groups[self.active_group].command, cmd_string) return '{} --ignore-gooey {}'.format(self.build_spec['target'], cmd_string) def group_arguments(self, widget_list):