Table of Contents

Module: process Twisted-0.19.0/twisted/internet/process.py

UNIX Process management.

Imported modules   
import abstract
import errno
import fdesc
import main
from main import CONNECTION_LOST, CONNECTION_DONE
import os
import select
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 Sun Jul 14 19:52:41 2002 by HappyDoc version 2.0