Forum Discussion
HKosova
Alumni
15 years agoHi Pawan,
The problem is in this line:
The problem is in this line:
ReadLine is a method, so you need parenthesis to call it in JScript:
Also, you probably need to change the post-condition do..while loop to a pre-condition while loop to properly handle situations when the StdOut stream is empty:while (!data1.StdOut.AtEndOfStream)
{
var strResult = data1.StdOut.ReadLine();
Log.Message(strResult);
}