by Kusold:
What does 'go version' print? 1.2.1 windows/amd64
On Windows, run the attached .go file. The exitcode that is reported is a "1".
However when you run the attached .bat file, you will see that Windows reports this
error as a 9009.
What happened?
The exitcode that Go is reporting is "1".
The exitcode that Windows is reporting is 9009.
What should have happened instead?
Go should report 9009
Attachments:
- testGoCmdWindows.go (178 bytes)
- testWindowsExitCode.bat (23 bytes)