    def pull(self, fproc: typing.Callable) -> None:
        """Pull stdout & stderr from process,
        process stdout & stderr with fproc, and set the output for the task.

        Parameters
        ----------
        fproc : Callable
            Process function of the task given stdout & stderr
        """
        if self._failed:
            return None
        self._stdout = self._proc.stdout.read().decode("utf-8")
        self._stderr = self._proc.stderr.read().decode("utf-8")
        fproc(self)
Pull stdout & stderr from process,
process stdout & stderr with fproc, and set the output for the task.

Parameters
----------
fproc : Callable
Process function of the task given stdout & stderr
python/aitemplate/backend/task_runner.py