Newer Claude CLI versions read from stdin even in -p (print) mode. This causes hangs in both execution modes: - Background mode: OS sends SIGTTIN to suspend the process; the progress-monitoring kill -0 loop runs forever since it returns true for stopped (not just running) processes. - Live/streaming mode (--monitor/--live): the foreground process blocks waiting for terminal input it never receives. Fix: add < /dev/null to both the modern CLI background execution path and the live streaming pipeline, consistent with legacy mode which already redirects stdin from $PROMPT_FILE. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_circuit_breaker_recovery.bats | ||
| test_cli_modern.bats | ||
| test_cli_parsing.bats | ||
| test_enable_core.bats | ||
| test_exit_detection.bats | ||
| test_json_parsing.bats | ||
| test_ralph_enable.bats | ||
| test_rate_limiting.bats | ||
| test_session_continuity.bats | ||
| test_task_sources.bats | ||
| test_wizard_utils.bats | ||