From ac050d6627e620ff8362cbf7f1232a20b73c565b Mon Sep 17 00:00:00 2001 From: edschuy95 Date: Thu, 22 Jan 2026 21:04:02 -0500 Subject: [PATCH] . --- RA3MP3Playback.pyw | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RA3MP3Playback.pyw b/RA3MP3Playback.pyw index f057e9d..262e100 100644 --- a/RA3MP3Playback.pyw +++ b/RA3MP3Playback.pyw @@ -646,10 +646,11 @@ def game_launch(gameargs): master_fd = None # Start monitoring in background thread - monitor_thread = threading.Thread(target=monitor_game, args=(pty_proc,)) + monitor_thread = threading.Thread(target=monitor_game, args=(pty_proc,), daemon=False) monitor_thread.start() else: + os.environ['TERM'] = 'xterm' master_fd, slave_fd = pty.openpty() pty_proc = subprocess.Popen( @@ -663,7 +664,7 @@ def game_launch(gameargs): os.close(slave_fd) # Start monitoring in background thread - monitor_thread = threading.Thread(target=monitor_game_pty, args=(master_fd,)) + monitor_thread = threading.Thread(target=monitor_game_pty, args=(master_fd,), daemon=False) monitor_thread.start() # Monitor the game output