Skip to content

Unable to terminate via SIGTERM (CTRL+C) when using -p #1188

@nsgundy

Description

@nsgundy

Describe the bug

When executing a prompt passed via -p, copilot-cli won't terminate when its being sent SIGTERM / CTRL+C, making it difficult to terminate copilot-cli in scripted workflows.

Affected version

0.0.398

Steps to reproduce the behavior

  1. Execute copilot-cli prompt using -p
copilot --model gpt-5-mini -p "test"
  1. Press CTRL+C before the above returns

Expected behavior

Expecting copilot-cli to terminate immediately when receiving SIGTERM / CTRL+C.

Additional context

Ran inside a Docker development container based on Ubuntu 20.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions