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