Trees | Indices | Help |
---|
|
This implements a set of classes that wraps a file object interface around code that executes in another process. This allows you fork many different commands and let the run concurrently.
Functions: copen_sys Open a file-like pipe to a system command. copen_fn Open a file-like pipe to a python function.
|
|||
_ProcHandle This object provides a file-like interface to a running process. |
|||
_PickleHandle Members: pid what is the PID of the subprocess? killsig what signal killed the child process? status what was the status of the command? |
|
|||
file-like object |
|
||
file-like object |
|
||
|
|||
|
|
|||
_active =
|
|||
_HANDLING = 0
|
|||
_PREV_SIGTERM = 0
|
|||
__warningregistry__ =
|
|
Open a file-like object that returns the output from function call. The object's 'read' method returns the return value from the function. The function is executed as a separate process so any variables modified by the function does not affect the ones in the parent process. The return value of the function must be pickle-able.
|
Handles a SIGTERM. Cleans up. |
|
__warningregistry__
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Feb 7 11:50:19 2008 | http://epydoc.sourceforge.net |