Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/101"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Zettrox/ztrx. Originally posted by xiaotu030202 on 2026-11-25T11:26:04Z.
Closing this: #15 and #22 already do both halves, more precisely, and I did not check the open pull requests before writing it.
Launcher: propagate the native process exit code, +3/−1-Capture/-Keysswitches + README section (#19)Docs: show a direct launch for captures and scripted input, +17/−1The one thing #15 and #22 do not cover
$?-guarded exit code. #15 reads$LASTEXITCODEafter the pipeline, which is right for a child that ran and failed. A command that cannot be started at all leaves$LASTEXITCODEuntouched, so it reports the previous command's value — and #3's own reproduction is.\target\release\victory.exe run $missing, which is that case whenever-Exedoes not resolve.With #17 (
-Exeresolution, and it exits 1 when nothing is found) and #53 (directory errors) merged, that window closes from the other side, so #15 alone is fine. Noting it rather than asking for a change.What I verified, in case it helps whoever reviews #15
Windows 11, Rust 1.98.1 (pinned), release build, no game files:
And the switches, probed inside the script right after the clearing step, before I saw #22:
Also: #4 does not reproduce on
90b529fI ran a path with spaces through the launcher and compared it against a direct run:
Both reach
victory.exewith the same argument, so the truncation in #4 is the-Exedefault rather than argument splitting — which is what that thread concluded and what #17 fixes. Worth saying so on #4 once #17 lands.Sorry for the duplicate. #100 (opcode coverage) is the one from me that is not already in flight.
Pull request closed