The idea is now to add an exclusion-application list for Primo, so we can tell our cache to pause when a certain process started and continue if it stops.
If you bother this require checking the processes list in intervals and thus consuming CPU... that won't be significant, even on short refresh-intervall... but imagine when: when i start my "Scanner"...normally I as a human need few to several seconds to start the initial "Scan Task" of that programm. Now even when PrimoCaches new auto-pause misses that moment and pauses little later on it is still good forthe cache not getting "spammed"
Well you should not add processes that possibly always run of cause like the main anti-virus but examples one could add are:
TDSSKiller.exe - ("Scan Known Rootkits" and "Basic Heuristic Detection")
SDScan.exe - ("Scan Mal-/Spy-/Ad-ware including browser cookie/system-traces")
If the Anti-Virus has an agent-process and uses different process for "onthefly-scans" than for "regular scans"...or if you always start and close your anti-virus you also could add that one.
The deal is, if he have a certain application (not only AntiVirus...simply hatever) that we do not like to have PrimoCache running, now we are no more forced to manually pause and start the cache.
What do you think?
BTW: Software is able to do awesome jobs... just by some automation "algorythms". I know "Process Lasso".... in short words in is a windows governor (automation system)...whatever is related to a process in windows can be automatically controlled and also be linked into other windows-envorinment settings.
Example: I set up that whenever a Process out of C:\Spiele\*.* is opened to change the power Profile to High performance.
With "Process Lasso" and PrimoCache-CLI im already able to do what i want... simply automatically rule to send the pause and start cache command when certain app is loaded, but i think it would be more cooler im Primo can do it on itself

Edit: Oh no to far headed...it does not work with Process Lasso... it can rule everything, but not to spawn a process on another process... so i need a BATCH to replace my program-shortcut 1. pause cache 2. run scanner 3. resume cache. lol damn