Home | Trees | Index | Help |
---|
Package pybaz :: Package backends :: Module forkexec :: Class ChildProcess |
|
Description of a child process, for error handling.
Method Summary | |
---|---|
Create a child process descriptor. | |
Fork, setup file descriptors, and exec child process. | |
Wait for process and check its termination status. | |
Wait for process and return exit result. |
Method Details |
---|
__init__(self,
command,
args,
expected=0,
chdir=None,
logger=None)
|
spawn(self, stdout=None, stdin=None, stderr=None, closefds=[])Fork, setup file descriptors, and exec child process. The When building a pipe, one side of a pipe is used as
|
wait(self)Wait for process and check its termination status. If the process exited, set self.status to its exit status. if the process was terminated by a signal, set self.signal to the value of this signal.
|
wait_nocheck(self)Wait for process and return exit result. This (internally used) variant of
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Jul 7 17:05:35 2006 | http://epydoc.sf.net |