def main(): interpretor = CmdLine() l = interpretor.precmd('launch') r = interpretor.onecmd(l) r = interpretor.postcmd(r, l) if not r: interpretor.cmdloop()
def main(): interpretor = CmdLine() l = interpretor.precmd('launch') r = interpretor.onecmd(l) r = interpretor.postcmd(r,l) if not r: interpretor.cmdloop()