Closed nifflin closed 7 years ago
Are you running from a console? OS X doesn't have Windows-like console behavior...
No, I double click the binary file from finder.
Ah, so OS X does open a terminal for a binary from the Finder then, or at least it does by default; try using Get Info?. If that doesn't work, try running from a .app bundle.
Yes, if I rename the binary file to *.app, there is no terminal after running again.
Under Windows,
go build -ldflags -H=windowsgui main.go
could do this. But there is also console under OS X, how to hide it?