dapr / dapr/cli

`dapr run` CTRL-C kills both the app and daprd

Open
#695 6 comments 0 reactions 0 assignees View on GitHub
area/cli kind/bug P1 size/M triaged/resolved
Dominant language
Go
Stars
353
Forks
221
Avg merge
3d 8h
Merged PRs (30d)
2

Description

## Expected Behavior

Pressing CTRL-C when running `dapr run` should send interrupt signals to both the application and daprd so that they shutdown gracefully. This would also allow daprd to close components down also per dapr/dapr#3088.

## Actual Behavior

Both the application and daprd are killed immedatiately.

## Steps to Reproduce the Problem

Use `dapr run` and press CTRL-C once the application is initialized.

## Release Note

RELEASE NOTE: **FIX** CTRL-C when using `dapr run` sends interrupt signals to the application and daprd instead of killing them.

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.