          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
          while True:
              try:
                  output = self.process.stdout.readline()
              except ValueError as err:
                  if str(err).lower().startswith("i/o operation on closed file"):
                      break
                  raise
  
 
</s> remove                 output = self.process.stderr.readline()
 </s> add                 buff = self._process.stderr
                assert buff is not None
                output: str = buff.readline() </s> remove     def read_stdout(self) -> None:
 </s> add     def _read_stdout(self) -> None: </s> remove             if output == "" and self.process.poll() is not None:
 </s> add             if output == "" and self._process.poll() is not None: </s> remove     def read_stderr(self):
 </s> add     def _read_stderr(self) -> None:
                buff = self._process.stdout
                assert buff is not None
                output: str = buff.readline()
          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
          while True:
              try:
                buff = self._process.stdout
                assert buff is not None
                output: str = buff.readline()
              except ValueError as err:
                  if str(err).lower().startswith("i/o operation on closed file"):
                      break
                  raise
  
keep keep keep keep replace keep keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py