C# console app how to run another program code example
Example: C# console app how to run another program
System.Diagnostics.Process pProcess = new System.Diagnostics.Process();
pProcess.StartInfo.FileName = "c:\\analyze.exe"
pProcess.StartInfo.Arguments = inputPath + " " + outputPath;
pProcess.Start();
pProcess.WaitForExit();
pProcess.Close();