Non-Interactive mode does not Exit/Close

Resolved 💬 3 comments Opened Jan 5, 2026 by MagnificentS Closed Mar 29, 2026

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When running in non-interactive mode, codex responds but does not exit.
This was not the case before

What steps can reproduce the bug?

codex exec "hi" --skip-git-repo-check

<img width="1129" height="610" alt="Image" src="https://github.com/user-attachments/assets/52933005-f088-47e0-b606-8bc5da5e3334" />

What is the expected behavior?

I expect it to exit and return control back to me

<img width="1129" height="610" alt="Image" src="https://github.com/user-attachments/assets/01e9c419-0d11-493e-976b-59118aeef4dc" />

Additional information

This only started recently

View original on GitHub ↗

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