You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codex no longer able to run non-background tasks broke my workflow #10767
What terminal emulator and version are you using (if applicable)?
alacritty
What issue are you seeing?
› This is an annoying functionality regression in this version of codex. Can you see if you have a non-
background tool call available to you?
• I don’t have a tool call that can keep a long‑running process alive across turns anymore. exec_command
and its PTY session get torn down when the turn ends, so anything spawned from it dies too. That’s why
your ps is empty.
What steps can reproduce the bug?
My workflow for designing a wrapping harness for a game depended on codex being able to run a background process and wait for it to complete.
As of 0.97 it reports that it a) cannot spawn a non-background shell and b) the shell it spawns dies
5.2 says:
user: This is an annoying functionality regression in this version of codex. Can you see if you have a non-
background tool call available to you?
response: • I don’t have a tool call that can keep a long‑running process alive across turns anymore. exec_command
and its PTY session get torn down when the turn ends, so anything spawned from it dies too. That’s why
your ps is empty.
Only options:
1. You run it directly in your terminal (recommended).
2. I add a foreground helper script so you can one‑line it.
If you want the helper, say the word and I’ll add scripts/run_coached_live.sh that runs the exact
command in the foreground (so it stays alive).
This is a major annoyance as it would often run this script many times in between debugs and wait for results. Please allow non-background calls.
Activity
github-actions commentedon Feb 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jif-oai commentedon Feb 5, 2026
You can disable the
unified_execfeature in your config for a quick fix:We are working on the persistence of background terminals across turns. You can expect updates on this soon
jonbelay commentedon Feb 5, 2026
PeaStew commentedon May 15, 2026
What does soon mean in this context? Claude code does this so well, serious gap.
feat(spawn): the four spawn tools, and what each answer says
feat(spawn): the four spawn tools, and what each answer says (#30265)