Process process = new Process();
            process.StartInfo.FileName = 指定程序exe文件路径;
            process.StartInfo.Arguments = 指定文件路径;
            process.StartInfo.UseShellExecute = false; 
            process.StartInfo.RedirectStandardOutput = false;
            process.StartInfo.RedirectStandardInput = true;
            process.StartInfo.CreateNoWindow = false;
            process.Start();
            process.WaitForExit();
            process.Close();

 

相关文章:

  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
猜你喜欢
  • 2021-07-15
  • 2022-02-01
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2021-06-28
  • 2021-07-25
相关资源
相似解决方案