run commands in a actual terminal where user can stop them

Resolved 💬 2 comments Opened Apr 4, 2026 by TenofHearts Closed Apr 4, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

IDE Extension

What feature would you like to see?

Codex should run commands in a terminal, or add a button to stop the command but not the session. Sometimes codex will run a mul-formed command which may end up in a infinite loop or simply not be able to run.

For example, my codex tried to run:

python run -c " 
***some code here***
# No second quote

which got stuck. I had to restart the whole session.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15997

Powered by Codex Action

etraut-openai contributor · 4 months ago

You can press the stop button in the chat composer to stop pending tool calls. Then pick up where you left off by issuing a new command prompt.