Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running wsl code <path> in terminal does not return (works as with -w option) #193337

Closed
kanlukasz opened this issue Sep 18, 2023 · 9 comments
Closed
Assignees

Comments

@kanlukasz
Copy link

Description:

Something happened with running VSCode in WSL via the wsl code /var/www/app command.
Until now, after executing this command, VSCode would open in the WSL environment according to the specified path and then release the terminal. That is, it was possible to give another command in the terminal or close it.
Currently, this command behaves as if I had added the -w flag.
That is, the terminal does not release this command. It does so only after I close VSCode

ScreenGIF:

wsl

VS Code Version:

Version: 1.82.2
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:55:25.390Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.82.2 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36

OS Version:

OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621

WSL Version:

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2283

WSL Extension version:

v0.81.3

Potential related issues and duplicates:

@Temepest74
Copy link

+1

It happens even when you go the the WSL distro console and type code /app

@KnisterPeter
Copy link
Contributor

Same as #188426?

@lamuertepeluda
Copy link

Same as #188426?

and same as #193328

@kanlukasz
Copy link
Author

and same as #193328

I don't see any connection between my issue and this.

@kanlukasz
Copy link
Author

kanlukasz commented Sep 18, 2023

Same as #188426?

I am not sure. Note that:

  • my issue appeared only a few days ago (not sure after which update). Before that, everything was working ok
  • 188426 mentions nothing about the context of wsl

@lamuertepeluda
Copy link

lamuertepeluda commented Sep 18, 2023

Sorry guys (especially @kanlukasz @KnisterPeter @devhindo) I meant #193332! I was misled by gh autosuggest while typing

@samuelshenrique
Copy link

+1 here

@ChristopherGerdes
Copy link

ChristopherGerdes commented Sep 20, 2023

+1 on this issue with win11, wsl2 on a brand new machine.

note that one of the big impacts for me on this is that it's breaking my environment startup scripts since part of that is to open the repos that I'm currently working on. It's pretty annoying.

@justschen justschen assigned alexr00 and unassigned justschen Sep 20, 2023
@alexr00 alexr00 assigned aeschli and unassigned alexr00 Sep 20, 2023
@aeschli
Copy link
Contributor

aeschli commented Sep 21, 2023

duplicate of #193453

@aeschli aeschli closed this as completed Sep 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants