Terminal/tab suffix shows codex" (stray quote in process/app name)

Resolved 💬 4 comments Opened Apr 16, 2026 by redbmk Closed Apr 17, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

ChatGPT Enterprise

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 25.3.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iTerm2

What issue are you seeing?

In iTerm2, my tab titles append the current foreground process in parentheses (e.g. (zsh), (less), etc.). When running Codex, it shows (codex") with a trailing quote.

This looks like Codex is setting/reporting an incorrect process name (e.g., argv[0]/process title) that includes a ".

Expected: (codex)
Actual: (codex")

What steps can reproduce the bug?

Run codex-cli and send any prompt. The terminal will show the name of the current directory:

❯ mkdir -p temp && cd temp && codex -- hi

doing ☝️ will produce temp (codex") in the iterm tab title

What is the expected behavior?

The expected title for the same command should be temp (codex)

Additional information

_No response_

View original on GitHub ↗

4 Comments

etraut-openai contributor · 4 months ago

Thanks for the bug report. This will be addressed in the next release.

ianmcvann · 3 months ago

@etraut-openai was this resolved? Currently on the latest public build and experiencing same issue.

❯ codex --version
codex-cli 0.128.0
etraut-openai contributor · 3 months ago

@ianmcvann, yes, this was resolved as fixed. If you're seeing something similar, please open a new bug report and fill in all the requested details in the bug template.

redbmk · 3 months ago

@etraut-openai @ianmcvann Yeah I'm still seeing the exact same issue as I reported it. I'm also on the latest version. It doesn't appear like the fix actually worked - should we re-open this ticket instead of creating a new one?

https://github.com/user-attachments/assets/5f66d3a8-4dfe-4ca2-975a-5817608e8cc4