Programs the menu opens no longer end when it closes #84

Merged
nelson merged 1 commit from FZTA-19-launch-no-console into main 2026-11-12 11:12:28 -08:00
Owner

Work package: https://openproject.romaine.life/wp/FZTA-19

mGBA joins its parent's console when it starts. Launched from the menu, that was the menu's popup console, so closing the menu ended mGBA with no crash report. launch, installed apps and links now open through a copy of fzt-automate started with no console (--shell-open), which hands the target to the shell exactly as before and exits.

Tested: a new Windows test opens a windowed program that tries to join its parent's console; opened the old way it joins, through launch it can't (the test fails against the old code). End to end on a throwaway tmux server, mGBA launched by this build from a pane stayed running after the pane closed; with the released build it died 2.6 s after.

Work package: https://openproject.romaine.life/wp/FZTA-19 mGBA joins its parent's console when it starts. Launched from the menu, that was the menu's popup console, so closing the menu ended mGBA with no crash report. `launch`, installed apps and links now open through a copy of fzt-automate started with no console (`--shell-open`), which hands the target to the shell exactly as before and exits. Tested: a new Windows test opens a windowed program that tries to join its parent's console; opened the old way it joins, through `launch` it can't (the test fails against the old code). End to end on a throwaway tmux server, mGBA launched by this build from a pane stayed running after the pane closed; with the released build it died 2.6 s after.
FZTA-19 Programs the menu opens no longer end when it closes
All checks were successful
Release / release (pull_request) Successful in 13s
CI / go-linux (pull_request) Successful in 18s
Build / windows (pull_request) Successful in 24s
Build / built (pull_request) Successful in 1s
Build / pcs (pull_request) Has been skipped
Build / home-sync (pull_request) Successful in 0s
CI / go-windows (pull_request) Successful in 31s
CI / test (pull_request) Successful in 2s
8f746f6df8
launch, installed-app and every link the menu opens now go through a copy
of fzt-automate started with no console, which hands them to the shell and
exits. mGBA joins its parent's console when it starts; started from the
menu, that was the menu's popup console, and tmux closing it with the menu
ended mGBA (0xC0000602) with no crash report.
nelson merged commit 16a9dac5b0 into main 2026-11-12 11:12:28 -08:00
nelson deleted branch FZTA-19-launch-no-console 2026-11-12 11:12:28 -08:00
Sign in to join this conversation.
No description provided.