  
      def _read_stdout(self) -> None:
          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
          while True:
              try:
                  buff = self._process.stdout
                  assert buff is not None
 
</s> remove                 output = self.process.stdout.readline()
 </s> add                 buff = self._process.stdout
                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     def read_stderr(self):
 </s> add     def _read_stderr(self) -> None: </s> remove         self.wrapper.tk_vars.refresh_graph.set(True)
 </s> add         tk_vars.refresh_graph.set(True)
        assert self._process is not None
  
      def _read_stdout(self) -> None:
          """ Read stdout from the subprocess. """
          logger.debug("Opening stdout reader")
        assert self._process is not None
          while True:
              try:
                  buff = self._process.stdout
                  assert buff is not None
keep keep keep add keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py