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:
! Command--Invoke Command or Child Process (Cmdlet)
!! Command--Invoke Command or Child Process and Auto-capture Output (Cmdlet)
OSRedirect.errorOccurred Method
OSRedirect.output Method
Copyright © 2013 CA.
All rights reserved.
|
|