Previous Topic: OSRedirect.errorOccurred MethodNext Topic: OSRedirect.hasCompleted Method


OSRedirect.errout Method

Child processes produce the following types of result information.

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)