Our great sponsors
-
The problem is that some games start without issues and stay alive and others exit with exit code 1 immediately. For example, Teeworlds 0.7.5 ( teeworlds.com ) works just fine but Battle for Wesnoth 1.16.6 ( wesnoth.itch.io/battle-for-wesnoth ) doesn't.
-
Maybe look at https://github.com/wesnoth/wesnoth/blob/2534c6184ef4c8a928c888fdebddcbbd0f97cdbb/src/wesnoth.cpp around line 1045. Maybe what it says about the command line switches, and forcing a Windows console to be attached, will be helpful. You may be able to run it with a set of switches that mean it doesn't need to be a TTY or whatever a Windows console is.
-
Sonar
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.