Usage
Function ZAP.SystemUtil.EndOfStream(
Boolean UseErrorOutput [Optional]
)
ZAP Utility
ZAP..EndOfStream
True
isStreamEnd
Boolean UseErrorOutput
Output Parameter
Parameters
UseErrorOutput (optional)
Type: Boolean
Default Value: False
Use Error Standard Output
Returns
True if the current stream position is at the end of the stream; otherwise false
Example
VBScript
Zap.SystemUtil.Run "java", "-classpath C:HelloWorld", null, True
Do While Not Zap.SystemUtil.EndOfStream
msgbox Zap.SystemUtil.ReadLine
Loop
JavaScript
Zap.SystemUtil.Run("java", "-classpath C:HelloWorld", null, true);
while (!Zap.SystemUtil.EndOfStream()) {
alert(Zap.SystemUtil.ReadLine());
}
ZAP Utility
Zap.SystemUtil.Run
java
-classpath...
true
ZAP Utility
Zap...ReadToEnd
output
ZAP Utility
Zap...EndOfStream
isStreamEnded
