Re: Multiple entry points (MS Windows)

Roderich Schupp <[email protected]> Fri, 24 Apr 2020 15:18:13 +0200
Newsgroups gmane.comp.lang.perl.par
Message-ID <CAC9r9zZyQb9YVw3nN6Vxnyojsiu-+1=391hmjEEWNQ3aRYOWNg@mail.gmail.com>
On Fri, Apr 24, 2020 at 2:36 PM Johan Vromans <[email protected]> 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