go exec 无法执行 windows 基础命令
go exec
无法执行 windows 基础命令:(del: executable file not found in %path%)
1 | package main |
Go 打包后的文件被识别为木马文件
go build github.com/beancount-gs: open a.out.exe: Operation did not complete successfully because the file contains a virus or potentially unwanted software.
1 | We have removed the detection. Please follow the steps below to clear cached detection and obtain the latest malware definitions. |
解决方案:Go 1.16 for windows - trojan detection · Issue #44351 · golang/go (github.com)
官方说明:Frequently Asked Questions (FAQ)