def cmd_shell(options, other_args): root = Root() return root.run("/bin/bash", as_root=options.root)
def cmd_run(options, other_args): root = Root() return root.run(" ".join(other_args), as_root=options.root)