ShellNix Class Reference

#include <shellnix.h>

Inheritance diagram for ShellNix:
Collaboration diagram for ShellNix:

List of all members.

Public Member Functions

 ShellNix ()
virtual void initialize (void)
virtual bool execute (const CString &dir, const CString &script, CString **redstdout, CString **redstderr, uint timeout)
virtual CStringreadFile (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.

CString * ShellNix::readFile ( const CString fullPath  )  [virtual]

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: