Part of twisted.internet View Source
UNIX Process management.
Do NOT use this module directly - use reactor.spawnProcess() instead.
Maintainer: Itamar Shtull-Trauring| Line # | Kind | Name | Docs |
|---|---|---|---|
| 40 | Function | reapAllProcesses | Reap all registered processes. |
| 48 | Function | registerReapProcessHandler | Register a process handler for the given pid, in case reapAllProcesses
|
| 71 | Function | unregisterReapProcessHandler | Unregister a process handler previously registered with |
| 82 | Function | detectLinuxBrokenPipeBehavior | On some Linux version, write-only pipe are detected as readable. This |
| 105 | Class | ProcessWriter | (Internal) Helper class to write into a Process's input pipe. |
| 205 | Class | ProcessReader | ProcessReader |
| 451 | Class | Process | An operating-system Process. |
| 781 | Class | PTYProcess | An operating-system Process that uses PTY support. |
| 263 | Class | _BaseProcess | Base class for Process and PTYProcess. |
reapAllProcesses
is called.
| Parameters | pid | the pid of the process. |
| process | a process handler. |
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.
SeeProcessWriter.doRead
for a more detailed explanation.