launch.events.process.process_io module

Module for ProcessIO event.

class launch.events.process.process_io.ProcessIO[source]

Bases: RunningProcessEvent

Event emitted when a process generates output on stdout or stderr, or if stdin is used.

__init__(*, text: bytes, fd: int, **kwargs) None[source]

Create a ProcessIO event.

Unmatched keyword arguments are passed to RunningProcessEvent, see it for details on those arguments.

Param:

text is the unicode data associated with the event

Param:

fd is an integer that indicates which file descriptor the text is from

property from_stderr: bool

Getter for from_stderr.

property from_stdin: bool

Getter for from_stdin.

property from_stdout: bool

Getter for from_stdout.

name = 'launch.events.process.ProcessIO'
property text: bytes

Getter for text.