

Reference Guide › AutoShell › AutoShell Core Reference › AutoShell Classes › OSRedirect.errout Method
OSRedirect.errout Method
Child processes produce the following types of result information.
- Regular output written to the screen
- Error output written to the screen
- Final exit code ("errorlevel")
This method has the following syntax:
errout()
This method returns a string with the output written by the child process to stderr.
Example
Invoke a nslookup and display regular and error output:
!! nslookup ascli1
? $$stdout.output()
? $$stdout.errout()
See also:
OSRedirect.errorOccurred Method
OSRedirect.output Method
! Command--Invoke Command or Child Process (Cmdlet)
!! Command--Invoke Command or Child Process and Auto-capture Output (Cmdlet)
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|