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
#6,149 3 comments 1 reaction 1 assignee View on GitHub

@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:
vscode-zsh-hanging

  1. On VSCode ZSH terminal, type: code --wait test.txt
  2. After New file be open in VSCode, close it without save the file.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.