microsoft / microsoft/aspire

[13.4] `ctrl+c` on `aspire describe` shows `Stopping Aspire` message

Open
#17,625 6 comments 0 reactions 0 assignees View on GitHub
area-cli triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

If run `aspire describe` such that it prompts you to pick which app host to describe and then hit `ctrl+c` before making a selection, the CLI will print a `Stopping Aspire` message and take several seconds to quit.

### Expected Behavior

I'd expect the cli to exit immediately, without printing a `stopping` message.

### Steps To Reproduce

1. Start an app host
2. Run `aspire describe` from another directory, such that it prompts you to pick an app host to describe
3. Without selecting an app host, press `ctrl+c`.

### Exceptions (if any)

N/A

### Aspire doctor output

Aspire Environment Check
========================

Aspire
✅ Aspire CLI version 13.4.0 (channel: staging)

AppHost
✅ AppHost version 13.4.0 (app\Trayport.Aspire.AppHost\Trayport.Aspire.AppHost.csproj)

.NET SDK
✅ .NET 10.0.300 installed (x64)

Container Runtime
✅ Docker v29.4.3: running (auto-detected (default)) ← active

Environment
✅ HTTPS development certificate is trusted

Summary: 5 passed, 0 warnings, 0 failed

Aspire CLI Installations
========================

╭──────────────────────────────────────────────────────┬─────────────────────────────────────────────────┬─────────┬───────────┬─────────────╮
│ Path │ Version │ Channel │ Route │ PATH status │
├──────────────────────────────────────────────────────┼─────────────────────────────────────────────────┼─────────┼───────────┼─────────────┤
│ C:\Users\alexanderc\.aspire\bin\aspire.exe (current) │ 13.4.0+e18fdb8e989c2d97b41fab57a7857e223a4a3379 │ staging │ (unknown) │ active │
╰──────────────────────────────────────────────────────┴─────────────────────────────────────────────────┴─────────┴───────────┴─────────────╯

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.