stateful/runme

runme vscode extension, on WSL2 run code in CMD.exe instead of WSL

wasdee opened this issue · 3 comments

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

  1. enter vscode connect to WSL
  2. run a readme cell

connect to WSL

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.

It might be on windows. But, bash is my wsl shell

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.