sanbornm/go-selfupdate

windows bug:move the existing executable to a new file in the same directory

Opened this issue · 0 comments

move the existing executable to a new file in the same directory
image

*os.LinkError {Op: "rename", Old: "d:\prjs\golang\gg\gg.exe", New: "d:\prjs\golang\gg\.gg.exe.old", Err: error(syscall.Errno) internal/syscall/windows.ERROR_SHARING_VIOLATION (32)}