ShellNix Class Reference
#include <shellnix.h>
Inheritance diagram for ShellNix:
Collaboration diagram for ShellNix:
Public Member Functions | |
ShellNix () | |
virtual void | initialize (void) |
virtual bool | execute (const CString &dir, const CString &script, CString **redstdout, CString **redstderr, uint timeout) |
virtual CString * | readFile (const CString &fullPath) |
Detailed Description
Utility class for Linux specific shell execution
Constructor & Destructor Documentation
ShellNix::ShellNix | ( | ) |
constructor
Member Function Documentation
bool ShellNix::execute | ( | const CString & | dir, | |
const CString & | script, | |||
CString ** | redstdout, | |||
CString ** | redstderr, | |||
uint | timeout | |||
) | [virtual] |
execute bash script named script in directory dir return stdout and stderr output of run in redstdout and redstderr return false in case of timeout, true otherwise
ShellNix::execute execute bash script named script in directory dir return stdout and stderr output of run in redstdout and redstderr return false in case of timeout, true otherwise
Implements Shell.
References ENVBUFSIZE, readFile(), and tempFileName().
Here is the call graph for this function:
void ShellNix::initialize | ( | void | ) | [virtual] |
ShellNix::initialize opportunity to do any necessary initialization
Reimplemented from Shell.
read a file into a string
ShellNix::readFile read a file into a string
Implements Shell.
References MaxPlusAnalysis::out.
Referenced by execute().
The documentation for this class was generated from the following files: