📜  c# 如何运行外部程序 - C# 代码示例

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

代码示例2
Process ExternalProcess = new Process();
ExternalProcess.StartInfo.FileName = "Notepad.exe";
ExternalProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
ExternalProcess.Start();
ExternalProcess.WaitForExit();