pyvb :: command :: VBCommand :: Class VBCommand
[hide private]
[frames] | no frames]

Class VBCommand

source code

An abstraction representing a command line command.

Instance Methods [hide private]
pyvb.command.VBCommand
__init__(self, command='')
Constructor.
source code
None
run(self)
Run the command and set the read, write, and error attributes.
source code
Method Details [hide private]

__init__(self, command='')
(Constructor)

source code 

Constructor. Initialize the command to run.

Parameters:
  • command (String) - The command to run.
Returns: pyvb.command.VBCommand
A new pyvb.command.VBCommand instance.

run(self)

source code 

Run the command and set the read, write, and error attributes. If there was and error, and exception is raised.

Returns: None
None