Terminal/tab suffix shows codex" (stray quote in process/app name)
Resolved 💬 4 comments Opened Apr 16, 2026 by redbmk Closed Apr 17, 2026
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_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗