You are viewing an older version (9.12.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / utils / _process_common / read_no_interrupt

function

IPython.utils._process_common:read_no_interrupt

source: /IPython/utils/_process_common.py :32

Signature

def   read_no_interrupt ( stream : IO[bytes] )  →  bytes | None

Summary

Read from a pipe ignoring EINTR errors.

Extended Summary

This is necessary because when reading from pipes with GUI event loops running in the background, often interrupts are raised that stop the command from completing.

Aliases

  • IPython.utils._process_common.read_no_interrupt