Possible Duplicate:
How To: Execute command line in C#, get STD OUT results
Hello,
In my C# application, I want to run a Command from command promt and want its output and maipulate its output. If required, want to close the process and display error or appropriate message. To stop the process, I have to press "F4' key on command prompt. Till the process is stopeed or killed, it has to be alive only.
How is that possible. Any help is highly appreciated. I am stuck with this and would be glad if any body helps me solve my problem.
Thanks