Azure / Azure/azure-cli

[SSH] - Webapp:webapp ssh - should catch ctrl + c

Open
#13,662 12 comments 1 reaction 1 assignee Claimed by @seligj95 View on GitHub
act-observability-squad app-service-networking customer-reported feature-request Service Attention Web Apps
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

az cli : 2.1.0

**Describe the bug**
When we do a ctrl+c to interrupt a program in a `az webapp ssh` it exit the `az webapp ssh` and break the host terminal (we need to do a `reset`)

**To Reproduce**
in a `az webapp ssh`
press ctrl+c after typing
```
while : do; echo "hello"; done
```

**Expected behavior**
Should SigKill the while loop

Note that send to (ctrl+w, ctrl+s, ctrl+q) should also be catch

Best regards

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.