def __init__(self, text, command, arguments=None, menu=None, should_exit=False):
super(CommandItem, self).__init__(text=text, menu=menu, should_exit=should_exit)<EOL>self.command = command<EOL>if arguments:<EOL><INDENT>self.arguments = arguments<EOL><DEDENT>else:<EOL><INDENT>self.arguments = []<EOL><DEDENT>self.exit_status = None<EOL>
:ivar str command: The console command to be executed
:ivar list[str] arguments: An optional list of string arguments to be passed to the command
:ivar int exit_status: the exit status of the command, None if it hasn't been run yet