Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Windows CMD or PowerShell for code execution #229

Open
AddictArts opened this issue Mar 23, 2023 · 2 comments · May be fixed by #256
Open

Support Windows CMD or PowerShell for code execution #229

AddictArts opened this issue Mar 23, 2023 · 2 comments · May be fixed by #256

Comments

@AddictArts
Copy link

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.

@Selyss
Copy link

Selyss commented May 18, 2023

I can try it, sure

@Selyss
Copy link

Selyss commented May 18, 2023

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

@braheezy braheezy linked a pull request Jul 21, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants