Works in the Terminal, Hangs When Called by an Agent: The codex exec stdin Trap
I called codex exec from an AI agent's tool runner, and no response ever came back. The hang I observed lasted more than 10 minutes. The prompt was passed as an argument, and there was nothing wrong with the command itself. When you type the command by hand, stdin is connected to your terminal, so…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-06 23:12 · DEV Community — AI
Works in the Terminal, Hangs When Called by an Agent: The codex exec stdin Trap