myProcess.Start();
myProcess.WaitForExit(); //<--

解决方案 »

  1.   

    myProcess.WaitForExit();//等待外部程序退出后才能往下执行
    http://mxpopstar.blog.163.com/blog/static/737641200902774733126/
      MyProcess.Start();
                        MessageBox.Show("开始运行!");
                        MyProcess.WaitForExit();
                        MessageBox.Show("已结束进程");
                   
      

  2.   

    如何獲取這個外部exe程序返回的結果呢?