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.
OSRedirect()
bool clear()
bool errorOccurred()
string errout()
bool hasCompleted()
string output()
int result()
void onCompleted(fCompleted)
void onError(fError)
void receivedErrOutput(s)
void receivedOutput(s)
void receivedResult(rc)
Copyright © 2013 CA. All rights reserved. |
|