How to stop avast anti-virus from scanning the file every time i compile a file
Hey is there a method to stop this from happening? I have tried adding the project folder and the installation folder of atom in avast's exclusion settings but this keeps on happening. I tried compiling with visual studio code and it works fine (i.e adding all paths in avast's exclusion settings). I think it might be that with gpp compiler there is no .exe file being created and then ran?
I seem to have fixed this issue by unticking the compile to temporary feature, but now the file won't autorun after compiling and gives me this error

@Zefty this issue is not clear. Do you just want to skip the Avast scan, or is the scan causing failure?
Before changing the setting, when it doesn't "compile to temporary," does the program run at all? If it runs at all, then there is an EXE being created. This package does not do any magic - it just streamlines the process of compiling an EXE and running it.
Regarding this later "not recognized" error, it looks like there is a space in the directory path where your file is. I think gpp-compiler doesn't handle spaces very well.
Hello,
I know this is almost 2 years old but for everyone who is going through the same. Go to AVAST > Menu > Settings > Exceptions > ADD EXCEPTION > C:\Users<yourusername>\AppData\Local\Temp > ADD EXCEPTION
You can access the Temp folder by pressing WIN + R, type %LocalAppData%, click OK, search for the temp folder, copy the the file path and paste it in the exceptions tab in avast.
Also, you can know where the .exe is being created by pressing the F6 key, this will create a .exe file and it will tell you the directory where it is created which should be the Temp archive for windows users.