def METHOD_NAME(self):
    self._logger.info("Reading all")
    if not self._pending:
        self._logger.debug("Nothing to read")
        return ''
    else:
        raw = self._proc.stdout.read(self._pending)
        self._pending = 0
        decoded = raw.decode(sys.stdout.encoding, errors='ignore')
        self._logger.debug("Read %s bytes. : %s" % (len(raw), decoded))
        return decoded