code: def _run_raw(self, cmd: str, ignore_errors=False) -> Tuple[str, str]:
      
      #    self._log("run_ssh: %s"%(cmd,))
  
      stdin, stdout, stderr = u.call_with_retries(self.ssh_client.exec_command,
                                                  command=cmd, get_pty=True)
      stdout_str = stdout.read().decode()
      stderr_str = stderr.read().decode()
      if stdout.channel.recv_exit_status() != 0:
        if not ignore_errors:
          self.log(f"command ({cmd}) failed with --->")
          self.log("failing stdout: " + stdout_str)
          self.log("failing stderr: " + stderr_str)
          assert False, "_run_raw failed (see logs for error)"
  
      return stdout_str, stderr_str
docs: Runs given cmd in the task using current SSH session, returns
      stdout/stderr as strings. Because it blocks until cmd is done, use it for
      short cmds. Silently ignores failing commands.
  
      This is a barebones method to be used during initialization that have
      minimal dependencies (no tmux)