This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / 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