obsidian-execute-code icon indicating copy to clipboard operation
obsidian-execute-code copied to clipboard

WSL support

Open chlohal opened this issue 2 years ago • 0 comments

This PR fixes #133 by adding a new setting: WSL mode. When WSL mode is on, it runs all commands in WSL via wsl -e <command> <args...>. On non-Windows installations, the WSL setting will not appear.

TODO:

  • [x] Test on non-clean-install WSL
  • [ ] Is this the most ergonomic option? Would users prefer to have a per-language toggle?
  • [ ] Implement in non-basic executors (waiting on #140)

chlohal avatar Oct 19 '22 23:10 chlohal