runme vscode extension, on WSL2 run code in CMD.exe instead of WSL
wasdee opened this issue · 3 comments
wasdee commented
error log
> web@0.0.1 dev
> vite dev
'\\wsl.localhost\Ubuntu-24.04\home\ben\xxx'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
'vite' is not recognized as an internal or external command,
operable program or batch file.
reproduce
- enter vscode connect to WSL
- run a readme cell
sourishkrout commented
Hi, @wasdee, are you sure cmd.exe
isn't the default shell profile selected in VS Code? Runme does not influence this selection, and I'm unsure if WSL filters out all invalid shells.
wasdee commented
It might be on windows. But, bash is my wsl shell
sourishkrout commented
It might be on windows. But, bash is my wsl shell
Makes sense. We're about to release a warning notification to let users know when their environment is incompatible.