it opens automatically for programs without guis that forget to set the “please don’t show cmd” flag. i made a program for my grandmother to automatically sort her photos and it would always flicker that damn window because i couldn’t figure out how to set the flag from Go :(
that is what i used but i could not get it to work, possibly because the program did not have a gui either. it was just supposed to be a “button” in the file explorer.
for a poweruser yeah but this is my grandmother we’re talking about. she only used the program once every six months, when her camera ran out of space and she emptied it onto the computer.
it opens automatically for programs without guis that forget to set the “please don’t show cmd” flag. i made a program for my grandmother to automatically sort her photos and it would always flicker that damn window because i couldn’t figure out how to set the flag from Go :(
Now, that’s sweet
go build "-ldflags -H=windowsgui"
Or do you mean with
exec
?that is what i used but i could not get it to work, possibly because the program did not have a gui either. it was just supposed to be a “button” in the file explorer.
Huh, strange. That sounds really annoying if every time I press a button a terminal flashes on screen.
for a poweruser yeah but this is my grandmother we’re talking about. she only used the program once every six months, when her camera ran out of space and she emptied it onto the computer.
You wrote an add-on for your grandma? That’s cool