Home | Trees | Index | Help |
---|
Package svnmailer :: Module processes :: Class Process |
|
object
--+
|
Process
Method Summary | |
---|---|
Initialization | |
Process |
Returns the process object of a detached process (Class method) |
Process |
Returns the process object of a piped process (Class method) |
Process |
Returns the process object of a piped process (Class method) |
int |
Waits for the process to end |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
file | fromchild : pipe from the child |
file | tochild : pipe to the child |
Class Variable Summary | |
---|---|
str | IMPLEMENTATION : A token describing the chosen implementation. |
Instance Method Details |
---|
__init__(self,
cmd,
pstdin=False,
pstdout=False,
pstderr=False,
detach=False)
Initialization |
wait(self)Waits for the process to end
|
Class Method Details |
---|
detach(cls, command)Returns the process object of a detached process The function spawns a command detached from the current one. All std-handles are inherited (no pipe is opened).
|
pipe2(cls, command)Returns the process object of a piped process The function spawns a command and opens two pipes. One pipe is for writing to command's stdin and the other one is for reading stdout. stderr is inherited from the caller.
|
pipe4(cls, command)Returns the process object of a piped process The function spawns a command and opens two pipes. One pipe is for writing to command's stdin and the other one is for reading stdout + stderr (together)
|
Instance Variable Details |
---|
fromchildpipe from the child
|
tochildpipe to the child
|
Class Variable Details |
---|
IMPLEMENTATIONA token describing the chosen implementation. Possible tokens are: subprocess, popen, win32api, dumb
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:05 2005 | http://epydoc.sf.net |