Record the two shell traps that wedged session 2's background jobs

Eleven watcher shells and one MAME instance were left running for over an
hour. Both had the same shape: a wait that can never be satisfied.

- `until ! pgrep -f foo.py` matches the watching shell's own command line,
  so the loop never terminates. Wait on a PID or a sentinel file instead.
- `timeout N mame` sends a SIGTERM that MAME ignores when its autoboot
  script is blocked; without `-k` the process spins at 100% CPU forever.

Also gitignore vasm's default `a.out` output.

Claude-Session: https://claude.ai/code/session_01194oWYW8DQXK1SZ2DnChW6
This commit is contained in:
prosolis
2026-08-23 12:49:32 -07:00
parent 64cd1ffd72
commit 22c67f1cb8
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -11,3 +11,4 @@ roms/
__pycache__/
*.pyc
*.dlx
a.out