- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
void PrecIO()
{
Precomkeys_add();
foreach (var j in FiIn)
{
Thread.Sleep(1000);
ThreadPool.QueueUserWorkItem(new WaitCallback(file =>
{
var p = new Process();
var arch = new ProcessStartInfo(Environment.CurrentDirectory + "\\precomp.exe", CmdKeys.ToString() + (Do == "preccreate" ? Fil.FmPh(file + ".pcf") : "") +" "
+ Fil.FmPh((string)file));
arch.WindowStyle = ProcessWindowStyle.Minimized;
arch.WorkingDirectory = dirout;
p.StartInfo = arch;
p.Start();
p.WaitForExit();
ficomplete++;
}), j);
}
}
Комментарии (0) RSS
Добавить комментарий