G
G
garih92017-07-20 12:30:32
go
garih9, 2017-07-20 12:30:32

When you launch an application written in Go, a Windows terminal opens. How to get rid of it?

When you launch a GUI application written in Go, a Windows terminal opens. How to get rid of it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeniy Zavyalov, 2017-07-20
@profit

We remove the console from the screen in the task manager: go build -ldflags -H=windowsgui

A
Alexander Zemlyanoy, 2017-07-20
@Galamoon

Run as a Service. But how exactly to do this I myself am interested.

I
IllusionTurtle, 2017-07-21
@IllusionTurtle

when compiling under windows, write as Evgeny Zavyalov said - go build -ldflags -H=windowsgui
i.e. you need to recompile the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question