@_errorHandle
    def callToUserAndDisplay(self, command, domain, *args):
        """ A wrapper function around call to user and displaying the result

            @param command:    The command to be executed
            @type  command:    string
        """
        if domain == 'admin':
            d = self._user.callRemote(command, *args)
            d.addCallback(lambda result: self.terminal.write(str(result)))
        else:
            d = self._user[domain].callRemote(command, *args)
            d.addCallback(lambda result: self.terminal.write(str(result)))

    # Various commands follow
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/ConsoleClient.callToUserAndDisplay/original