poidasmith / winrun4j

WinRun4J Java Application Launcher
http://winrun4j.sourceforge.net
212 stars 63 forks source link

Error stream shows up in shell used to launch GUI version #33

Open Chrriis opened 11 years ago

Chrriis commented 11 years ago

I launch a non-console exe from a DOS shell, which generates errors (actually bubbling up and killing the main but I don't think this is relevant). These errors show up in the middle of other things I was doing in that shell.

If I am not mistaken, output and error streams should not be shown at all when launched from a shell using a GUI application since that application is able to show modal dialog boxes with error reporting and so on.

I tried to block the error stream with "log.level=none" but this seems to only affect events from WinRun4J itself.

poidasmith commented 11 years ago

Yes, actually this is feature of the launcher. But I could see it might be annoying so let me add an INI option to disable it. Thanks.