Usage
Function ZAP.SystemUtil.ReadLine(
Boolean UseErrorOutput [Optional]
)
ZAP Utility
ZAP...ReadLine
True
line
Boolean UseErrorOutput
Output Parameter
Parameters
UseErrorOutput (optional)
Type: Boolean
Default Value: False
Use Error Standard Output
Returns
The next line from the input stream, or null if the end of the input stream is reached
Example
VBScript
Zap.SystemUtil.Run "java", "-classpath C:HelloWorld", null, True
msgbox Zap.SystemUtil.ReadLine
'read line from error output
msgbox Zap.SystemUtil.ReadLine(True)
JavaScript
Zap.SystemUtil.Run("java", "-classpath C:HelloWorld", null, true);
alert(Zap.SystemUtil.ReadLine());
//read line from error output
alert(Zap.SystemUtil.ReadLine(true));
ZAP Utility
Zap.SystemUtil.Run
java
-classpath...
true
ZAP Utility
Zap.Sys...ReadLine
output
ZAP Utility
Zap.Sys...ReadLine
True
errorOutput

Comment
Read line from error output