obsidian-execute-code
obsidian-execute-code copied to clipboard
WSL support
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)