-
Notifications
You must be signed in to change notification settings - Fork 289
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
[WSL]: code .
better error when 'cmd.exe' is not on the path
#170
Comments
Actually, it seems this is because Perhaps a friendlier error message about what to do would be a good addition. I feel I'm not the only person in the world to do this: microsoft/WSL#1493 |
code .
via WSL shell opens via Windows path without WSL supportcode .
better error when 'cmd.exe' is not on the path
Thanks for taking note of this. From what I can see, the Wouldn't it be better to just drop the I feel cmd.exe won't be on the PATH for a lot of people, and it seems like it could be fixed outright, rather than just reported to the user that he needs to take additional action. |
I removed /mnt/c/WINDOWS/system32 from my WSL path then:
That message doesn't explain that the path is missing something. |
Now I'm getting an exception:
|
fixed by microsoft/vscode@49b51b3 |
@aeschli After removing
IMO the message is self-explanatory (but contains a typo "wheter"). |
Issue Type: Bug
Running:
"/c/Users/<username>/AppData/Local/Programs/Microsoft VS Code Insiders/bin/code-insiders" .
This is printed in the console before Code starts, it's a message that I'm not seeing in stable Code:
/c/Users/<username>/AppData/Local/Programs/Microsoft VS Code Insiders/bin/code-insiders: line 29: cmd.exe: command not found
Code Insiders will open, but the project will be opened from the Windows path (
X:\dir\dir
, instead of/x/dir/dir
), without Remote-WSL.This is likely to break various tooling and workflows relying on the command line.
VS Code version: Code - Insiders 1.34.0-insider (473af338e1bd9ad4d9853933da1cd9d5d9e07dc9, 2019-05-01T00:22:05.899Z)
OS version: Windows_NT x64 10.0.17763
The text was updated successfully, but these errors were encountered: