python file has introduced other packages, modules
First, the source
1.1 python source code, source code, python packing method, and program files package. Please move https://www.cnblogs.com/zhuanjiao/p/11588346.html get. Not repeat posted.
1.2 C # source code
the System.Diagnostics the using; namespace the TestClass { public class RBOOT { public void StartBoot () { String @ path = "D: \ PyCharm \ Source \ Study \ dist \ RBoot.exe"; the using (Process proc = new new Process ()) { path = proc.StartInfo.FileName; proc.StartInfo.Arguments = ""; // this example has no parameters, if the parameters in the order of splicing a space (eg: "pA pB pC") proc.StartInfo.RedirectStandardError = to true; = to false proc.StartInfo.UseShellExecute; proc.Start (); proc.WaitForExit (); } } } }
Second, in the console program under the above StartBoot method calls, run successfully!