maaslalani / slides

Terminal based presentation tool

Home Page:http://maaslalani.com/slides/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Windows CMD or PowerShell for code execution

AddictArts opened this issue · comments

Is your feature request related to a problem? Please describe.
Yes, the bash code block language (shell) does not exist on Windows. It may exist via GitBash, but slides does not pick that up, but I'm not requesting. Exit code 127 appears for these.

Describe the solution you'd like
It would be great to support CMD or PowerShell, or just use bash, but call one of those executors.

Describe alternatives you've considered
There is none for CTRL-E on Windows and executing shell content.

commented

I can try it, sure

commented

image

When i try to add batch like normal, I get an error:
fork/exec ...\Temp\slides-1834313067.bat: The process cannot access the file because it is being used by another proce-

Anyone know where this issue may be occuring? I am using Command Prompt on Windows 11