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