Previous Topic: AutoShell ClassesNext Topic: OSRedirect.OSRedirect Constructor


OSRedirect Class

OSRedirect is a utility class that is used with the run-local command running scripts locally. Its primary use is to redirect the output of child processes into JavaScript strings. The system variable $$stdout, used by the !! command, is also an instance of the OSRedirect class.

Constructor

OSRedirect()

Methods

bool clear()

bool errorOccurred()

string errout()

bool hasCompleted()

string output()

int result()

Event Handlers

void onCompleted(fCompleted)

void onError(fError)

void receivedErrOutput(s)

void receivedOutput(s)

void receivedResult(rc)