On Fri, Apr 24, 2020 at 2:36 PM Johan Vromans <jvrom...@squirrel.nl> wrote:

> But on Windows it matters whether the program is built with --gui or not.
> If I build with --gui invoking the command line version will make all
> terminal output disappear. If built without --gui the GUI invokation will
> show a nasty terminal window...
>
> Is there an elegant solution?
>

AFAICS no. --gui sets a bit in the generated Windows executable, so it's
not modifiable at runtime.

Cheers, Roderich

Reply via email to