module documentation
(source)

UNIX Process management.

Do NOT use this module directly - use reactor.spawnProcess() instead.

Maintainer: Itamar Shtull-Trauring

Class ​Process An operating-system Process.
Class ​Process​Reader ProcessReader
Class ​Process​Writer (Internal) Helper class to write into a Process's input pipe.
Class ​PTYProcess An operating-system Process that uses PTY support.
Function reap​All​Processes Reap all registered processes.
Function register​Reap​Process​Handler Register a process handler for the given pid, in case reapAllProcesses is called.
Function unregister​Reap​Process​Handler Unregister a process handler previously registered with registerReapProcessHandler.
Variable detector Undocumented
Variable fcntl Undocumented
Variable pty Undocumented
Variable reap​Process​Handlers Undocumented
Class _​Base​Process Base class for Process and PTYProcess.
Class _​FDDetector No summary
Function _list​Open​FDs Use the global detector object to figure out which FD implementation to use.
def reapAllProcesses(): (source)
Reap all registered processes.
def registerReapProcessHandler(pid, process): (source)
Register a process handler for the given pid, in case reapAllProcesses is called.
Parameters
pidthe pid of the process.
processa process handler.
def unregisterReapProcessHandler(pid, process): (source)
Unregister a process handler previously registered with registerReapProcessHandler.
detector = (source)

Undocumented

fcntl = (source)

Undocumented

Undocumented

reapProcessHandlers: Dict[int, Callable] = (source)

Undocumented

def _listOpenFDs(): (source)
Use the global detector object to figure out which FD implementation to use.