Is that how you extract the output after running an application?
Anyone know how come it is not working?
TRM.StartInfo.FileName = "trm.exe";
TRM.StartInfo.Arguments = "\"" + FilePathName + "\"";
TRM.StartInfo.UseShellExecute = false;
TRM.StartInfo.RedirectStandardOutput = true;
TRM.Start();
string output = TRM.StandardOutput.ReadToEnd();
return output;
Thanks a lot