01 2021 档案
摘要:Thread.Join()在MSDN中的解释:Blocks the calling thread until a thread terminates 阻塞calling thread,直到当前join的线程完成 什么是calling thread:开启新线程所在的线程 例如:在main函数创建一个线
阅读全文
摘要:实现方法: private static void RunBat(string program, string parm) { try { Process proc = new Process(); proc.StartInfo.FileName = program; proc.StartInfo.
阅读全文