def do_shell(self, command):
        """shell <command>: run 'command' in shell"""
        if _stash is not None:
            _stash(command)
        else:
            p = os.popen(command)
            content = p.read()
            code = p.close()
            self.stdout.write(content + "\n")
            self.stdout.write(Text("Exit status: {s}\n".format(s=code), "yellow"))
shell <command>: run 'command' in shell
bin/mc.py