This class provides an interface to external programs.
It handles error checking and logging and allows access
to all aspects of input and output to the program.
Any output to stderr or a non-zero exit status from the program
signals an error.
Sub-classes like Util::Ftool, Util::PseudoFtool,
Util::Extractor, and Util::Stool give additional functionality
for specific types of programs.
Constructor
Accessors
Methods
- run(arguments)
Run the tool. Calls "init" before running and "cleanup" after running.
- init()
Initialize a tool before running.
This method initialized the "had_error" flag and sets up
the environment for the tool.
Sub-classes may override this.
For example Util::Ftool uses this method to set up the
parameter file.
- cleanup()
Check for errors and do general cleanup.
- error_message()
Assemble the text of an error message
Sub-classes may override this method to give more information.
- error()
Internal error handler.
Special Methods
- BEGIN()
This begin function sets up an index of signal names in the class data.