Claude -p (print mode) is non-interactive but retains full tool access (Edit, Write, Bash, etc.) with --dangerously-skip-permissions. Removing -p caused Claude to enter interactive mode which requires a TTY and produces zero output when run as a subprocess with piped I/O. Now delivers prompt via stdin for both Claude and Codex in agentic mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 KiB
19 KiB