Package buildbot :: Package slave :: Module commands :: Class ShellCommand
[frames | no frames]

Class ShellCommand


Method Summary
  __init__(self, builder, command, workdir, environ, sendStdout, sendStderr, sendRC, timeout, initialStdin, keepStdinOpen, keepStdout, logfiles)
  __repr__(self)
  addLogfile(self, name, data)
  addStderr(self, data)
  addStdout(self, data)
  closeStdin(self)
  doBackupTimeout(self)
  doTimeout(self)
  failed(self, why)
  finished(self, sig, rc)
  kill(self, msg)
  sendStatus(self, status)
  start(self)
  writeStdin(self, data)

Class Variable Summary
int BACKUP_TIMEOUT = 5                                                                     
str KILL = 'KILL'
bool notreally = False

Method Details

__init__(self, builder, command, workdir, environ=None, sendStdout=True, sendStderr=True, sendRC=True, timeout=None, initialStdin=None, keepStdinOpen=False, keepStdout=False, logfiles={})
(Constructor)

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.

Class Variable Details

BACKUP_TIMEOUT

Type:
int
Value:
5                                                                     

KILL

Type:
str
Value:
'KILL'                                                                 

notreally

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net