startup: let run.ps1 and run.sh turn off the hook thread holding #3332

Merged
lukaslw-lab merged 1 commit from upstream-pr/3332 into main 2026-11-28 16:13:45 +00:00
lukaslw-lab commented 2026-11-28 10:05:52 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-28T10:05:52Z.


Change

Fixes #3331. run.ps1 -SuspendOthers 0 and run.sh --suspend-others 0 pass --suspend-others 0 to
debug_launch.py (#1408's option). The default stays 1 (hold). run.sh refuses values other than 0 and 1 with exit 64.
The docs say when to use it (timing runs vs complete files.txt).

Verification

main 3f780716, Windows 10 + WSL Ubuntu:

Check Result
tests/startup_run_ps1_check.py (powershell, pwsh) 0 failed; without the pass-through it fails
tests/startup_run_sh_check.py (WSL) 0 failed; without the 0/1 check, 3 fail

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5539026935 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3332). Originally posted by [lukaslw-lab](https://github.com/lukaslw-lab) on 2026-11-28T10:05:52Z. --- ## Change Fixes #3331. `run.ps1 -SuspendOthers 0` and `run.sh --suspend-others 0` pass `--suspend-others 0` to `debug_launch.py` (#1408's option). The default stays 1 (hold). `run.sh` refuses values other than 0 and 1 with exit 64. The docs say when to use it (timing runs vs complete `files.txt`). ## Verification `main` `3f780716`, Windows 10 + WSL Ubuntu: | Check | Result | |---|---| | `tests/startup_run_ps1_check.py` (powershell, pwsh) | 0 failed; without the pass-through it fails | | `tests/startup_run_sh_check.py` (WSL) | 0 failed; without the 0/1 check, 3 fail | AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!3332
No description provided.