ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Can't launch non-Steam games containing a single quote ' in their path #8662

Open Silejonu opened 2 years ago

Silejonu commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

Adding a non-Steam game which has a single quote (') in its name results in the game not launching.

Example target: steam -applaunch 1118310 -L "/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so" "/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link's Awakening (France).zip"

Steps for reproducing this issue:

  1. Add a non-Steam game with a single quote (') in its name
  2. Launch the game through Steam
  3. The game-initialisation pop-up appears, then disappears immediately
  4. Nothing happens

Additional info

Related issues

2964

5835

5220

7151

7219

7580

7645

8164

Silejonu commented 2 years ago

Additional info after further testing:

I tried running "/home/silejonu/test'.sh", and it launched successfully.

So the issue may be related to -applaunch, or RetroArch.

KenwoodFox commented 1 year ago

I seem to have this bug too, sorta. I had a long command that would not launch but ran fine in the terminal, i tried dumping it in a script so my target was just "path/to/script.sh" but still insta crash and no logging with PROTON_LOG=1 But i also have many ' in my command