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

Class SlaveShellCommand

source code

Command --+
          |
         SlaveShellCommand

This is a Command which runs a shell command. The args dict contains the following keys:

ShellCommand creates the following status messages:

Instance Methods
 
start(self)
Start the command.
source code
 
interrupt(self)
Override this in a subclass to allow commands to be interrupted.
source code
 
writeStdin(self, data) source code
 
closeStdin(self) source code

Inherited from Command: __init__, __providedBy__, commandComplete, doInterrupt, doStart, sendStatus, setup

Class Variables

Inherited from Command: __implemented__, __provides__, debug, interrupted, running

Method Details

start(self)

source code 

Start the command. This method should return a Deferred that will fire when the command has completed. The Deferred's argument will be ignored.

This method should be overridden by subclasses.

Overrides: Command.start
(inherited documentation)

interrupt(self)

source code 

Override this in a subclass to allow commands to be interrupted. May be called multiple times, test and set self.interrupted=True if this matters.

Overrides: Command.interrupt
(inherited documentation)