'Executes command and returns response as a list of lines.
@type name: str
@param name: Command name
@type args: list
@param args: Argument List
@rtype: list
@return: List of strings'

def execute(self, name, *args):

    cmd = name
    if args:
        cmd += ('    ' + '    '.join(args))
    self._s.sendl(cmd)
    while self._s.peekl().startswith(NOTIFICATION_PREFIX):
        self._s.recvl()
    if self._s.peekl().startswith(STATUS_SUCCESS):
        return [self._s.recvl()[len(STATUS_SUCCESS):]]
    elif self._s.peekl().startswith(STATUS_ERROR):
        raise Exception(self._s.recvl()[len(STATUS_ERROR):])
    return self._s.recvuntil(END_MARKER)
