.Exec gives the ability to access the standard streams of the executable and allows read/writes to the process's stdout/stderr in real-time while the process executes. The following code illustrates the use of the AtEndOfStream property. while(!Pipe.StdOut.AtEndOfStream) WScript.StdOut.WriteLine(Pipe.StdOut.ReadLine()) ------------ .Terminate Instructs the … JP .
I need to execute a grep command on a text file and display the output to an ASP file. Remarks. from the expert community at Experts Exchange I was not sure if I should ask in this forum or the ASP forum. Find answers to VBScript Reading command line program output from StdOut using exec and storing it for parsing, HOW DO I??
The object is always the name of a TextStream object.
RE: Shell Command StdOut PHV (MIS) 25 Oct 06 06:17. The AtEndOfStream property applies only to TextStream files that are open for reading; otherwise, an error occurs. AtEndOfStream. How can I run a command and display it's results to the screen? We use something similar with Xpedition to capture stdout and stderr into the Xpedition Output tab. The "some_custom_identifier" string can be something unique to your automation. The "some_custom_identifier" string can be something unique to your automation. Shell Command StdOut Shell Command StdOut johnpayback (IS/IT--Management) (OP) 25 Oct 06 05:32.