Multiple entry points (MS Windows)
Johan Vromans <[email protected]> Fri, 24 Apr 2020 14:31:13 +0200
| Newsgroups | gmane.comp.lang.perl.par |
|---|---|
| Organization | Squirrel Consultancy |
| Message-ID | <[email protected]> |
Hi, I have an application that comes in two forms: as a command line tool, and as a GUI tool. I want to package these in a single binary, using pp multi-script feature. So far, so good. 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?