Use the same wait logic for analyze
git-svn-id: file:///home/svn/framework3/trunk@10138 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d7b2831557
commit
c12947192c
|
@ -162,7 +162,11 @@ for (var tApp in apps) {
|
|||
nprocs = process_list();
|
||||
}
|
||||
|
||||
WScript.Sleep(500);
|
||||
// If an application spawned, give it three seconds
|
||||
// This helps with ProcMon memory usage as well
|
||||
if (nprocs.length > procs.length) {
|
||||
WScript.Sleep(3000);
|
||||
}
|
||||
|
||||
var killer = "taskkill /F ";
|
||||
for (var i=0; i < nprocs.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue