module documentation
(source)

UNIX Process management.

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

Maintainer: Itamar Shtull-Trauring

Variable pty Undocumented
Variable fcntl Undocumented
Variable reapProcessHandlers Undocumented
Function reapAllProcesses Reap all registered processes.
Function registerReapProcessHandler Register a process handler for the given pid, in case reapAllProcesses is called.
Function unregisterReapProcessHandler Unregister a process handler previously registered with registerReapProcessHandler.
Class ProcessWriter (Internal) Helper class to write into a Process's input pipe.
Class ProcessReader ProcessReader
Variable detector Undocumented
Class Process An operating-system Process.
Class PTYProcess An operating-system Process that uses PTY support.
Class _BaseProcess Base class for Process and PTYProcess.
Class _FDDetector No summary
Function _listOpenFDs Use the global detector object to figure out which FD implementation to use.

Undocumented

fcntl = (source)

Undocumented

reapProcessHandlers = (source)

Undocumented

(type: Dict[int, Callable])
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.

Parameterspidthe pid of the process.
processa process handler.
def unregisterReapProcessHandler(pid, process): (source)

Unregister a process handler previously registered with registerReapProcessHandler.

detector = (source)

Undocumented

def _listOpenFDs(): (source)

Use the global detector object to figure out which FD implementation to use.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.