microsoft / microsoft/vscode-remote-release
Zsh of VSCode terminal hangs if command "code --wait <filename>" is used and file is closed without been saved.
Open
@aeschli is already working on this.
Since Jan 11, 2022.
bug
remote
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.63.2
- Local OS Version: Windows 10 19.09 (OS Build 18363.1977)
- Remote OS Version: Ubuntu 20.04.3 LTS Focal
- Remote Extension/Connection Type: SSH/Docker/WSL: using SSH remote or using ssh with devcontainer
- Logs:
/home ······························································································································································································································· at 06:35:47 P
/home ····························································································································································································································· at 06:35:47
❯ code --wait test.txt
^C
/home ·········································································································································································································· ✘ INT took 13s at 06:36:36 PM
❯
Steps to Reproduce:

- On VSCode ZSH terminal, type: code --wait test.txt
- After New file be open in VSCode, close it without save the file.
- Terminal hangs and you need to press CRTL+C to release it.
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.