I solved the problem [hopefully]: Settings/Antivirus scroll to exclusions, Select the subdirectory of the problem program. Avast will then exclude it from scanning and shield protection.