Skip to content

Codex doesn't kill hung background task #8740

Closed as duplicate
Closed as duplicate

Description

@Wildebeest

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-codex high

What platform is your computer?

Linux 6.17.4-76061704-generic x86_64 x86_64

What issue are you seeing?

User: Kill the background terminal

Agent: • No background terminal session is running on my side — all prior commands completed. If you meant a
specific process (or a named shell/session), tell me which one and I’ll stop it.

1 background terminal running · /ps to view

What steps can reproduce the bug?

  1. Have it kick off a hung background task
  2. Repeat the same task but it completes
  3. Ask it to kill the task from 1

Uploaded thread: 019b7108-2d84-7732-bb9e-6db5b22193b3

What is the expected behavior?

It kills the task.

Additional information

No response

Activity

  1. github-actions commented on Jan 5, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  2. etraut-openai commented on Jan 5, 2026

    @etraut-openai
    Contributor

    Thanks for reporting. I think this is a duplicate of #8656.

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

    CLIIssues related to the Codex CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions