Looks like our call to ShellExecute in steam_helper/steam.cpp is at fault here. We should be splitting off the arguments and passing them in lpParameters. Instead we're passing the whole string in lpFile, so ShellExecute is trying to run notepad test.txt, which obviously isn't a valid executable.
proton 4.11x1 2020-06proton 5.0x1 2020-06proton 5.0-1x1 2020-06STEAM_COMPAT_DATA_PATH="/tmp/proton_test"x1 2020-06WINEPREFIX="/tmp/proton_test/pfx"x1 2020-06
Proton 5.0-1
OS: Linux
I am doing some testing on the Proton script. And found that, when the line
is invoked, if the
sys.argv[2:]is more than one argument, then the process doesn't run. This is not happening in4.11-2version.Looks like the
steamargument afterwine(g_proton.wine_bin) causes the issue in 5.0-1. Removing thesteam, then the process can run with argument.Steps to re-produce
/tmp/proton_testIf change to Proton 4.11, the test.txt will be open by notepad.