ScriptDeck icon indicating copy to clipboard operation
ScriptDeck copied to clipboard

Add support for WSL

Open akulihin opened this issue 2 years ago • 1 comments

Please add "native" support for WSL2. Currently you can run a script like "wsl -e /mnt/c/script/cool.py", but it takes time for WSL to spin up, it would be great if you could run WSL during plugin startup and send wsl commands to this shell directly similar to how PowerShell works right now. As a bonus you could add support for multiple repos instead of using the default one!

This would make it the ultimate tool for IT professionals. My Use case:

  1. Scripts using Linux symbolic link
  2. Scripts that are native to Linux

akulihin avatar Nov 20 '23 22:11 akulihin

@mylorik this sounds like a great idea!

Feel free to try to write a script that will run in an existing open wsl image (I think you'd be able to use Windows Terminal to do this). If you can prove out the concept, I'd love to add this, and probably add a "WSLScriptDeck" specialized release.

If you can do this relatively soon (next week or so), I should be able to roll this into the holiday release.

StartAutomating avatar Nov 20 '23 23:11 StartAutomating