twisted.internet.process
module documentationtwisted.internet
View Source
UNIX Process management.
Do NOT use this module directly - use reactor.spawnProcess() instead.
Maintainer: Itamar Shtull-Trauring
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 . |
Function | detectLinuxBrokenPipeBehavior | On some Linux version, write-only pipe are detected as readable. This function is here to check if this bug is present or not. |
Class | ProcessWriter | (Internal) Helper class to write into a Process's input pipe. |
Class | ProcessReader | ProcessReader |
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. |
Register a process handler for the given pid, in case reapAllProcesses
is called.
Parameters | pid | the pid of the process. |
process | a process handler. |
Unregister a process handler previously registered with registerReapProcessHandler
.
On some Linux version, write-only pipe are detected as readable. This function is here to check if this bug is present or not.
See ProcessWriter.doRead
for a more detailed explanation.
Returns | True if Linux pipe behaviour is broken. @rtype : bool |
Use the global detector object to figure out which FD implementation to use.