upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-12-02 19:50:08 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-12-02 23:16:48 -0300
commit3bc1c333ef2ff314e60cbc656bd412486366c561 (patch)
treed789fa1f2f4c10dcc4e492e013a1be3924ee3c6f /runtime/test/tiny_game_exit_code_test.cpp
parentd15e048a746896621422542b5bce28d08812d101 (diff)
launchers: command-line arguments keep a folder's last backslash (GAME-GATE-START-QUOTING)
game-gate.ps1's start verb, and play-nvidia.ps1 for the button-prompt tool, quoted each argument of a Windows command line as '"' + value with " turned into \" + '"'. By CommandLineToArgvW's rules a backslash in front of a quote escapes it, so -RunRoot D:\runs\ reached the supervisor as D:\runs" followed by every later argument, and a -PcGlyphs folder such as "C:\My glyphs\" did the same to the tool. The backslashes in front of a quote or of the closing quote are now doubled, and play-nvidia.ps1 quotes an empty argument as "" too. tests/test_game_gate_start_quoting.py runs each script's own quoting on awkward values and parses the joined line back with CommandLineToArgvW; both cases fail on the base scripts.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions