Problem when codex running command

Resolved 💬 6 comments Opened Oct 23, 2025 by hlemonnier Closed Dec 23, 2025

What version of Codex is running?

codex-cli 0.47.0

What subscription do you have?

pro

Which model were you using?

gpt5 high codex

What platform is your computer?

Linux 6.8.12-060812-generic x86_64 x86_64 and latest macos

What issue are you seeing?

Sometimes, when you run a command that takes a long time, it just keeps running. That’s expected if it’s stuck in an infinite loop, but other times it happens because the command failed or got stuck. Right now, the only way to stop it is to kill the whole process, which also closes the chat — so you have to start over. There should be a button, like a “Stop” or “Exit” in Cursor, that cancels just the command execution while keeping the chat open. That way, the model could still analyze the partial output and iterate on what happened without losing everything.

What steps can reproduce the bug?

Running a command with possible failure

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗