Q:等待外部程序运行结束以后 主程序再继续运行
A:System.Diagnostics.Process p = Process.Start("IExplore.exe", "www.northwindtraders.com");
p.WaitForExit();
if(p.ExitCode==0)//正常退出
{
...
}
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-03-06
-
2021-08-28
-
2022-12-23
-
2022-02-11
-
2022-12-23
-
2022-12-23
猜你喜欢
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2021-08-18
-
2022-03-07
-
2022-12-23
-
2021-12-08
相关资源
-
下载
2023-01-27
-
下载
2023-01-05
-
下载
2023-01-09