Re: How do I capture the output of a command line app in .NET?
- From: "Samik R." <samik@xxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 13:15:08 -0700
On 12/13/2006 11:23 AM, kellygreer1 wrote:
I know I can execute another app usingYou can use the BeginOutputReadLine method on the Process, which will read the line one by one just like a stream. Then you can process the line as you like.
System.Diagnostics.Process.Start.
But how do I execute an app where I expect output and capture that
output in a String variable inside of .NET?
Thanks in advance,
Kelly Greer kellygreer@xxxxxxxxxx change nospam to yahoo
HTH.
-Samik
.
- References:
- How do I capture the output of a command line app in .NET?
- From: kellygreer1
- How do I capture the output of a command line app in .NET?
- Prev by Date: Retrieve data from nested repeater?
- Next by Date: Re: Retrieve data from nested repeater?
- Previous by thread: How do I capture the output of a command line app in .NET?
- Next by thread: Change the local port of a server connection after connection is established
- Index(es):
Relevant Pages
|