Closed IAmNotHanni closed 6 years ago
This distracts the user. I think these windows should be hidden. The processes shouldn't terminate of course.
This is currently not a bug, just development state. (For logging purpose, but we can also just look in the inexorcef.log)
We can hide these windows by compiling it with a different windows subsystem. I have a untested commit which solves this, if you are willing to test it on windows @IAmNotHanni and maybe try to fix the edges which may not be working straight away, I can upload it.
Create a pull request pls so I can review.
I currently don't have time for a PR (at most it can be untested).. Could you test it? and fix eventually the fuckups? It is simple: remove CONSOLE_APP in the cmakelists.txt. afterwards the main() function wont be found, since on windows it is named differently. thats why the other lines are there.
Ok I'm on it.
@a-teammate Why don't we just link it to another windows subsystem ?
This pull request will fix it: https://github.com/inexorgame/inexor-core/pull/577 Awaiting confirmation/review.
Multiple CEF sub processes will open a console window when Inexor has been started.
MSDN FreeConsole function
Stackoverflow