Make sure to disable anti-virus software. Such software hooks into file operations in order to scan files for viruses and can keep files open longer than you expect. That would be consistent with the error message you're seeing.
This is not limited to anti-virus software but it's most common with it. -- chris On Wednesday, January 17, 2018 at 7:30:15 AM UTC-8, Bob Hiestand wrote: > > > > On Thursday, January 11, 2018 at 2:28:36 PM UTC-6, Ian Lance Taylor wrote: >> >> >> Please do test this if you can. There are significant changes to the >> go tool. Please report bugs now, so that we can fix them before the >> final release. >> >> In particular, there are significant changes to the go tool caching >> and `go test`; see the release notes. As a consequence, I encourage >> anybody who uses the go tool's -buildmode option to test the new >> release, as those options are less used and less tested. >> >> > I apologize for a poor error report, but using 1.10 beta 2 on windows I > received an error running 'go test' that I haven't encountered before: > > >go test -c > open C:\Users\...\api.test.exe: The process cannot access the file because > it is being used by another process. > > It has only occurred once in many (dozens, at least) invocations in the > last few days. > > Thank you, > > Bob > -- 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. For more options, visit https://groups.google.com/d/optout.