01 2021 档案

摘要:Thread.Join()在MSDN中的解释:Blocks the calling thread until a thread terminates 阻塞calling thread,直到当前join的线程完成 什么是calling thread:开启新线程所在的线程 例如:在main函数创建一个线 阅读全文
posted @ 2021-01-13 11:15 darkif 阅读(364) 评论(0) 推荐(0)
摘要:实现方法: private static void RunBat(string program, string parm) { try { Process proc = new Process(); proc.StartInfo.FileName = program; proc.StartInfo. 阅读全文
posted @ 2021-01-06 20:28 darkif 阅读(1446) 评论(0) 推荐(0)