upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/xma2_decoder.cpp
diff options
context:
space:
mode:
authorSnooozs <204760317+Snooozs@users.noreply.github.com>2026-11-24 17:41:02 +0100
committerSnooozs <204760317+Snooozs@users.noreply.github.com>2026-11-24 17:42:32 +0100
commitcb878ea0345ea6d3ea8c2e9537e46a3740af10e0 (patch)
tree97a711dda5f9f26eb26f37f562091be522b8ce48 /runtime/src/xma2_decoder.cpp
parent82a2aabcc33bf296b5c2e3e4e7021fa506f8570e (diff)
TEST-BATCH-LAUNCH-EXITCODE: read the batch exit code after the child exits
The launch helper started cmd.exe with -PassThru, held $p.Handle and then called WaitForExit(). For a stub batch that exits at once, ExitCode can be null, and `exit $p.ExitCode` turned that into 0. A failing folder then read as a pass. On origin/main the test failed in every run I made, with exit code 7 reported as 0 in several folders. The helper now starts with -Wait -PassThru, so ExitCode is read after the process has exited, and a null code is reported as 999, which no folder case expects. The parsed production ArgumentList expression and the folder cases are unchanged; the negative control that drops the quotes still fails as intended. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions