c# 调用外包程序 等待处理完成结果
string root = @"J:\yaoqianshu"; string pythonPath = "解压缩拷贝启动动画测试(新).py"; string ccccPath = ""; ProcessStartInfo myProcess = new ProcessStartInfo(); myProcess.WorkingDirectory = root; myProcess.FileName = pythonPath; Process ones = Process.Start(myProcess); Debug.WriteLine("开始运行"); ones.WaitForExit(); Debug.WriteLine("结束进程");