

Reference Guide › AutoShell › AutoShell Core Reference › AutoShell Classes › OSRedirect Class
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)
See also:
OSRedirect.OSRedirect Constructor
OSRedirect.clear Method
OSRedirect.errorOccurred Method
OSRedirect.errout Method
OSRedirect.hasCompleted Method
OSRedirect.onCompleted Method
OSRedirect.onError Method
OSRedirect.output Method
OSRedirect.receivedErrOutput Method
OSRedirect.receivedOutput Method
OSRedirect.receivedResult Method
OSRedirect.result Method
run-local Command--Execute a Script on the Local System (Funclet)
Copyright © 2013 CA.
All rights reserved.
 
|
|