Hello,
This is definitively my antivirus (Avira Antivirus). It turned OFF the “real time protection”, and the go commands worked like a charm
Obviously I want to keep my antivirus turned ON, so I need to tell him “don’t worry, go is fine”.
When I run go with the -x command, it gives me some extra informations:
go run -x hello.go
WORK=C:\Users\cleme\AppData\Local\Temp\go-build038283594
Do I have any control over this WORK variable ? I could set it to D:\GoWork, and add a clean exception to my antivirus (I don’t want to add C:\Users\cleme\AppData\Local\Temp to the exception list).
I do realize that it’s not really a go question (more of an antivirus configuration), but if you have any ideas, it would be great
EDIT: maybe this WORK variable isn’t the solution…