Skip to content

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

Closed

Description

@redbmk

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

Activity

  1. added
    bug
    on Apr 16, 2026
  2. added
    CLI
    on Apr 16, 2026
  3. added
    TUI
    and removed
    CLI
    on Apr 16, 2026
  4. added a commit that references this issue on Apr 17, 2026
    2dd6734
  5. etraut-openai commented on Apr 17, 2026

    @etraut-openai
    Contributor

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

  6. ianmcvann commented on May 1, 2026

    @ianmcvann

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

    ❯ codex --version
    codex-cli 0.128.0
    
  7. etraut-openai commented on May 2, 2026

    @etraut-openai
    Contributor

    @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.

  8. redbmk commented on May 3, 2026

    @redbmk
    Author

    @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?

    Screen.Recording.2026-05-02.at.9.22.57.PM.mov
  9. added a commit that references this issue on May 7, 2026
    77fbca8
  10. added a commit that references this issue on Jun 27, 2026
    ea23854
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions