Table of Contents

Module: process | Twisted-0.17.4/twisted/internet/process.py
--- | ---

UNIX Process management.

Imported modules |
--- | ---
import abstract import main from main import CONNECTION_LOST, CONNECTION_DONE import os import sys import traceback from twisted.persisted import styles from twisted.python import log
Functions |
reapProcess
| reapProcess

    reapProcess ( *args )

### Reap as many processes as possible (without blocking) via waitpid.

This is called when sigchild is caught or a Process object loses its "connection" (stdout is closed) This ought to result in reaping all zombie processes, since it will be called twice as often as it needs to be.

(Unfortunately, this is a slightly experimental approach, since UNIX has no way to be really sure that your process is going to go away w/o blocking. I don't want to block.)

Classes |

Process | An operating-system Process.
ProcessError | ProcessError
ProcessWriter | (Internal) Helper class to write to Process's stdin.

Table of Contents

This document was automatically generated on Sat Apr 20 01:30:49 2002 by HappyDoc version 2.0