vscode: Calling `code .` from WSL prompt does not return

  • VSCode Version: 1.28.2
  • OS Version: Windows 10 v1809

Steps to Reproduce:

  1. Run code . from WSL
  2. The WSL prompt does not return.
  3. Type exit into WSL without closing VSCode, WSL window does not close.

Please note that this issue has been there all along since I started using VSCode. (2017, maybe?) Suddenly, it got fixed sometime in 2018. (I can’t remember when, unfortunately.) And it has been reintroduce again last month. (When the UI for Windows version has been redesigned.)

Does this issue occur when all extensions are disabled?: Yes

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 19 (7 by maintainers)

Most upvoted comments

Also seeing this. Calling code . from within WSL (using Hyper) returned immediately prior to updating to 1809, however after updating the command doesn’t return until I force it (using ctrl + c).

@weikinhuang Exactly, the behaviour is the same. @karlhorky I’m running wsl.exe directly, and the issue is the same.