📜  C# 控制台应用程序如何运行另一个程序 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:40.605000             🧑  作者: Mango

代码示例1
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();