C# 重启exe
摘要:休夸此地分天下 c# 关闭和重启.exe程序 Process[] myprocess = Process.GetProcessesByName("a"); if (myprocess.Count() > 0)//判断如果存在 { //myprocess[0].Kill();//关闭程序 } else { try { Process newProcess = new Process();//创建一...
阅读全文
posted @ 2018-09-28 14:17