I am trying to execute a bat file through my WPF application on a button click.
I want the output of the batch file to be displayed in a TextBlock(with vertical scroll) of WPF application.

I am able to execute a bat file using Process.Start

Here is my Code

```
Process process = new Process();
process.StartInfo.FileName = @"C:\bin\run.bat";
process.StartInfo.Arguments = @"-X";
process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
process.Start();
process.WaitForExit();

```

How to proceed further?
Thanks