I have a program that has both a GUI and a console interface. In GUI mode, the console should not pop up, but in console mode, the user should see the standard output. Is it possible to do that with Launch4J? That is:
- When the user doubleclicks on the launcher, the program launches _without_ showing the console window.
- But when the user starts the program from a command prompt, the launcher shouldn't terminate immediately. Instead, it should redirect the standard output of the program to the command prompt.
With the current version of Launch4J it seems you can either suppress the console window when doubleclicking the EXE, or print to the console, but you can't do both.
Thanks in advance!
Log in to post a comment.