upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-22 10:28:47 +0000
committerClaude <noreply@anthropic.com>2026-11-22 10:28:47 +0000
commit1dba48b7b75bcb712c068758625282e0e2f9ef14 (patch)
tree786a7e76c56df5c1f3e0cb1c2e6d99f554cc154a /runtime/src/thread_stacks.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
audio: start ffmpeg without the caller's stdin
ffmpeg reads stdin for key commands. Every ffmpeg call in tools/audio_wav.py (audio_digest, decode) and make_game.py (decode_xma) inherited the caller's stdin, so a run started in the background of a terminal stopped at its first decode ("Stopped (tty output)"), and input piped to the caller was swallowed. tests/test_audio_wav.py's own ffmpeg fixture calls did the same: in a `while read` loop over tests/ with ffmpeg on PATH, they ate the next file names and four test files were silently skipped. Give every ffmpeg call stdin=subprocess.DEVNULL, and add fake-ffmpeg tests that check each call reads nothing from stdin: the decode run and the resume check of audio_wav.py, and make_game.decode_xma(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GQWmXYJ1uVSCTNfvSjPMF7
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions