编程语言
首页 > 编程语言> > C#调用执行EXE程式

C#调用执行EXE程式

作者:互联网

  public void Excute_exe(string path,string arg)
     {
            ProcessStartInfo info = new ProcessStartInfo();
            info.FileName = path;
            info.Arguments = arg;
            info.WindowStyle = ProcessWindowStyle.Minimized;
            Process pro = Process.Start(info);
            pro.WaitForExit();
     }

标签:info,ProcessStartInfo,EXE,string,C#,pro,程式,arg,path
来源: https://www.cnblogs.com/wml-it/p/15667349.html