Files
geramyloveless cf6ca2a3e0 mlg-run: stop Quake3e when it falls back from the forced mode
When the mode it was given fails, Quake3e retries r_mode 3 by itself.
With --quake3 mlg-run now stays the game's parent, passes its output
through on a pseudo-terminal (line by line, as to a terminal), forwards
SIGINT, SIGTERM and SIGHUP, and on Quake3e's "falling back on r_mode"
stops the game and exits 1 saying so. The game's exit status is mlg-run's
otherwise. test-mlg-run checks the line it watches for.
2026-10-04 08:08:16 -07:00
..