(self, arg)
console <target> [arguments...] - run a console program for debugging
console <target> [arguments...] - run a console program for debugging
console <target > [ arguments ... ] - run a console program for debugging
def do_console(self, arg):
        """
        console <target> [arguments...] - run a console program for debugging
        """
        if self.cmdprefix:
            raise CmdError("prefix not allowed")
        cmdline = self.input_command_line(arg)
        try:
            process = self.debug.execl(arg,
                                                bConsole = True,
                                                 bFollow = self.options.follow)
            print("Spawned process (%d)" % process.get_pid())
        except Exception:
            raise CmdError("can't execute")
        self.set_fake_last_event(process)
def do_console ( self , arg ) : if self . cmdprefix : raise CmdError ( "prefix not allowed" ) cmdline = self . input_command_line ( arg ) try : process = self . debug . execl ( arg , bConsole = True , bFollow = self . options . follow ) print ( "Spawned process (%d)" % process . get_pid ( ) ) except Exception : raise CmdError ( "can't execute" ) self . set_fake_last_event ( process )