Hi,
I am trying to call a process using System.Diagnostics.Process, send it a parameter, just for the sake of trying it out i am sending "-h" which should generate a list of help options and I need the output.
So far I have tried,
ProcessStartInfo startInfo = new ProcessStartInfo("C:\\agfl\\agfl.exe");
startInfo.WindowStyle = ProcessWindowStyle.Normal;
startInfo.CreateNoWindow = false;
startInfo.Arguments = "-h";
Process.Start(startInfo);
Any help please?
Thanks :)