Ask questionsSupport for non-standard shells
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Describe the feature you'd like. -->
Running code using the "Run Python File in Terminal" icon should support shells outside of pwsh, cmd, etc. If using Powershell, the command is prefixed with
&. If using CMD, the command is not prefixed. If using another shell (such as nushell), the command is still prefixed as if it was powershell. This causes the command to fail.
I have been using the setting
"terminal.integrated.shell.windows" for setting the shell to utilize.
Answer questions luabud
Hey @kfardanesh! If we were to do it, I believe we'd address https://github.com/microsoft/vscode-python/issues/11812 so that it's possible to configure the shell for running Python files. So I'm closing in favour of that 😊