__init__(self,
builder,
command,
workdir,
environ=None,
sendStdout=True,
sendStderr=True,
sendRC=True,
timeout=None,
maxTime=None,
initialStdin=None,
keepStdout=False,
keepStderr=False,
logEnviron=True,
logfiles={ } ,
usePTY=' slave-config ' ,
useProcGroup=True)
(Constructor)
| source code
|
- Parameters:
keepStdout - if True, we keep a copy of all the stdout text that we've seen.
This copy is available in self.stdout, which can be read after
the command has finished.
keepStderr - same, for stderr
usePTY - "slave-config" -> use the SlaveBuilder's usePTY;
otherwise, true to use a PTY, false to not use a PTY.
useProcGroup - (default True) use a process group for non-PTY process
invocations
|