INNER CODE UNIT · Python

_read_pipe

lij768423-svg/grok-register-panel · batch_supervisor.py:56

def _read_pipe(pipe, output: queue.Queue) -> None:
    try:
        while True:
            try:
                chunk = os.read(pipe.fileno(), 65536)
            except OSError:
                break
            if not chunk:
                break
            output.put(chunk)
    finally:
        output.put(None)


_configure_utf8_stdio()


def is_driver_crash_line(line: str) -> bool:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…