Jeśli chcesz wykonać exe od aplikacji C# i uzyskać wyjście z niego można użyć poniższy kod
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "PATH TO YOUR FILE";
p.StartInfo.UseShellExecute = false;
p.StartInfo.Arguments = metalType + " " + graphHeight + " " + graphWidth;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.EnableRaisingEvents = true;
p.Start();
svgText = p.StandardOutput.ReadToEnd();
using(StreamReader s = p.StandardError)
{
string error = s.ReadToEnd();
p.WaitForExit(20000);
}
Nie forgete napisać p.EnableRaisingEvents = true;
Proszę podać więcej szczegółów na temat tego, co faktycznie próbujesz wykonać. – Patel
możliwy duplikat [wyjścia procesu C# podczas działania] (http://stackoverflow.com/questions/11994610/c-sharp-get-process-output- podczas biegu) –