Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command prompt opens with gui on Windows 7 #90

Open
ProfOak opened this issue Jun 5, 2015 · 4 comments
Open

Command prompt opens with gui on Windows 7 #90

ProfOak opened this issue Jun 5, 2015 · 4 comments

Comments

@ProfOak
Copy link

ProfOak commented Jun 5, 2015

I'm using the basic window example provided on github. I build it, then I double click the binary. Is it supposed to open a command prompt window, too? How do I get rid of it?

@ProfOak
Copy link
Author

ProfOak commented Jun 5, 2015

Figured it out after a bit more searching. You have to build with other flags

go build -ldflags -H=windowsgui basicwindow.go

@sinni800
Copy link

Please close the issue then, @ProfOak

@ProfOak ProfOak closed this as completed Jun 10, 2015
@andlabs
Copy link
Owner

andlabs commented May 23, 2016

Reopen in re #133

@andlabs
Copy link
Owner

andlabs commented May 23, 2016

Please leave this open until a permanent solution can be found. I'm not sure if cgo will let me pass -mwindows and have that propagate to any binaries created with the package; will it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants