System.Diagnostics.ProcessStartInfo cp = new System.Diagnostics.ProcessStartInfo();
            cp.FileName = Application.ExecutablePath;
            cp.Arguments = "cmd params";
            cp.UseShellExecute = true;
            System.Diagnostics.Process.Start(cp);

            System.Threading.Thread.Sleep(3000);
            Environment.Exit(0);

 https://blog.csdn.net/bruce135lee/article/details/78551532

相关文章:

  • 2022-01-05
  • 2021-11-23
  • 2022-12-23
  • 2021-05-22
  • 2022-03-03
  • 2022-12-23
  • 2021-12-18
  • 2021-05-30
猜你喜欢
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2022-01-16
  • 2021-10-08
  • 2021-05-20
相关资源
相似解决方案