Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.