Child processes produce three types of result information. The regular output typically written to the screen, error output typically written to the screen, and a final exit code ("errorlevel"). This method returns a string with the output written by the child process to stdout.
This method has the following syntax:
output()
The method returns a string that contains the command output.
Example
Get Windows OS version string:
!! ver ? $$stdout.output()
Copyright © 2013 CA. All rights reserved. |
|