Disable your anti-virus software or configure it to ignore the relevant
files. It is well known that many Windows anti-virus products have false
positives regarding Go programs.

On Tue, Jun 27, 2023 at 12:13 PM Nikhilesh Susarla <nikhilesh1...@gmail.com>
wrote:

> I was creating a cli application. I was building, testing it and all of
> sudden I made few code changes and then I wanted to do go run main.go, it
> gives me below error.
>
> fork/exec
> C:\Users\cydri\AppData\Local\Temp\go-build2802953115\b001\exe\main.exe:
> Operation did not complete successfully because the file contains a virus
> or potentially unwanted software.
> go: failed to remove work dir: CreateFile
> C:\Users\cydri\AppData\Local\Temp\go-build2802953115\b001\exe\main.exe:
> Operation did not complete successfully because the file contains a virus
> or potentially unwanted software.
>
> I am not able to run the cli. I went and deleted that go-build temp folder
> too. But still the error persists.
>
> Any help appreciated.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/c5e36342-746f-4618-afe4-ce77fa79cc35n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/c5e36342-746f-4618-afe4-ce77fa79cc35n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_P4jH%3DHSuUojUuq6kJKiq%2BwyXfOi8R7s8Kr%3DvW_h%2Bbqw%40mail.gmail.com.

Reply via email to