'Executes a cli command and returns the results
This method will execute the CLI command on the connection and return
the results to the caller.  The command output will be returned as a
string'

def send_command(self, command, prompt=None, answer=None, sendonly=False):

    timeout = (self._connection._play_context.timeout or 30)
    signal.signal(signal.SIGALRM, self._alarm_handler)
    signal.alarm(timeout)
    display.display(('command:    %s' % command), log_only=True)
    resp = self._connection.send(command, prompt, answer, sendonly)
    signal.alarm(0)
    return resp
