📌  相关文章
📜  隐藏命令提示符 c# 代码示例

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

代码示例2
using System.Diagnostics;
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C (command)";
process.StartInfo = startInfo;
process.Start();