After running Python for over ten hours, it still hasn't finished and seems to be stuck.
Resolved 💬 2 comments Opened Sep 21, 2025 by Im-Sue Closed Sep 21, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.39.0
Which model were you using?
gpt-5-codex high
What platform is your computer?
Windows 11
What steps can reproduce the bug?
<img width="629" height="150" alt="Image" src="https://github.com/user-attachments/assets/edeaf1a9-80b7-4fc0-8a20-564f096757a3" />
After running Python for over ten hours, it still hasn't finished and seems to be stuck.
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
2 Comments
We don't currently support background processes, suggest to interrupt it and run this particular command outside of the codex session for now.
I'm also seeing issues like this without any use of background processes.
After long enough goes by that some attempts bail out, other attempts will just continue indefinitely logging nothing new to the console.
It's very frustrating because often times these tasks have actually accomplished the job and just need to stop running, but manually stopping them would result in losing the changes.
This finding is in reference to the cloud sessions.