I've got a problem with Go on Windows 7 (x64) and was wondering if anyone can help me?
After building with go build ... I get the correct output file. (*.exe) The new executable can be run, but can't be deleted or build again. (Because it can't be removed.)
I have the same problem, after building with go build, I get the correct output file. (*.exe) The new executable can be run, then I use the keyboard keys CTRL+ C to terminate the program, and then I re execute "go build", but always prompt "go install changelog: open changelog.exe: Access is denied." . Prior to the generation of the executable file cannot be removed, unless it is to restart the computer.
This is not a problem in my previous go version 1.2, after upgrading to 1.3, had this problem always, my operating system is windows7, a 32 bit operating system.
I don't known why.
Greetings everyone,
I've got a problem with Go on Windows 7 (x64) and was wondering if anyone can help me?
After building with go build ... I get the correct output file. (*.exe) The new executable can be run, but can't be deleted or build again. (Because it can't be removed.)
I first noticed the problem in LiteIDE, when I couldn't build after the first initial build, but thought: ``Maybe some incorrect settings.''.
But I tested it by building manually:
- The file can't be removed in explorer.
- The file can't be edited.
- The file CAN be run.
- Rebuilding gives: Access is denied.
- Right mouse shows the admin required icon for rename/delete, but even with elevated privileges it doesn't work. (Just shows a try-again dialog)
Now the strange thing it 'reverts' back to a 'normal' file after a short while. It is as if something is still using the file for a short(2-3m) while after a build.
I've tried building executables with Visual Studio 2008&2010 and they don't have the same problem. (Same with Java)
I found one other mention of the problem on stackoverflow, sadly no solution. Does anyone have any idea what it might be? Or what might cause these problems?
no any antivirus software , It looks like the executable file is locked by the system.It can't run again , unless to restart the computer
The problem is solved, it is a hidden garbage antivirus software caused.
I solve the problem through this tool: http://technet.microsoft.com/en-au/sysinternals/bb896653