Hello.
When a program is built with -ldflags="-H=windowsgui" (that is needed if the program is not a console app, but with own GUI) - PowerShell window flashes just after launch.
This PR fixes it by adding syscall.SysProcAttr{HideWindow:true} to cmd.Exec(in 2 places).
Now there are no flashing windows as it should be.
Hello. When a program is built with -ldflags="-H=windowsgui" (that is needed if the program is not a console app, but with own GUI) - PowerShell window flashes just after launch. This PR fixes it by adding
syscall.SysProcAttr{HideWindow:true}
to cmd.Exec(in 2 places).Now there are no flashing windows as it should be.