Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@2Pz
Copy link
Owner

@2Pz 2Pz commented Oct 28, 2025

  • Strip problematic env vars (LD_LIBRARY_PATH, LD_PRELOAD, QT_PLUGIN_PATH, QT_QPA_PLATFORM_PLUGIN_PATH, PYTHONHOME, PYTHONPATH, PYINSTALLER_BOOTLOADER) from all child process launches.
  • Add PlatformUtils.sanitized_env_for_subprocess() and build_qprocess_environment() helpers.
  • Apply sanitized env to:
    • QProcess in ui/terminal.py and game_page_components/game_launcher.py
    • subprocess.Popen in game_launcher and SteamService
    • subprocess.run default via CommandRunner.run
  • reserve Flatpak host spawning and login-shell behavior on Linux.
  • Fixes Arch Linux crash when launching via manager: /usr/bin/bash: symbol lookup error: bssh … undefined symbol: rl_print_keybinding, by aligning launched processes with a clean environment similar to running in a normal terminal.

- Strip problematic env vars (LD_LIBRARY_PATH, LD_PRELOAD, QT_PLUGIN_PATH, QT_QPA_PLATFORM_PLUGIN_PATH, PYTHONHOME, PYTHONPATH, PYINSTALLER_BOOTLOADER) from all child process launches.
- Add PlatformUtils.sanitized_env_for_subprocess() and build_qprocess_environment() helpers.
- Apply sanitized env to:
 -  QProcess in ui/terminal.py and game_page_components/game_launcher.py
 - subprocess.Popen in game_launcher and SteamService
 - subprocess.run default via CommandRunner.run
- reserve Flatpak host spawning and login-shell behavior on Linux.
- Fixes Arch Linux crash when launching via manager: /usr/bin/bash: symbol lookup error: bssh … undefined symbol: rl_print_keybinding, by aligning launched processes with a clean environment similar to running in a normal terminal.
@2Pz 2Pz merged commit 09b79bc into main Nov 4, 2025
3 checks passed
@2Pz 2Pz deleted the fix/arch-readline-launch-env branch November 4, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants