You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the environments extension is enabled, whether in venv or not, running first python script is working, but all subsequent run commands are in wrong format, with no '&' at front, and ' ' in python executable path is not escaped, resulting in error.
# first run
PS C:\> & "C:\Users\Spaced Username\AppData\Local\Microsoft\WindowsApps\python3.11.exe" "c:/Users/Spaced Username/Documents/test.py"
# second run
PS C:\> C:\Users\Spaced Username\AppData\Local\Microsoft\WindowsApps\python3.11.exe "c:/Users/Spaced Username/Documents/test.py"
C:\Users\Spaced: The term 'C:\Users\Spaced' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Expected Behavior
# first run
PS C:\> & "C:\Users\Spaced Username\AppData\Local\Microsoft\WindowsApps\python3.11.exe" "c:/Users/Spaced Username/Documents/test.py"
# second run
PS C:\> & "C:\Users\Spaced Username\AppData\Local\Microsoft\WindowsApps\python3.11.exe" "c:/Users/Spaced Username/Documents/test.py"
Current Behavior
When the environments extension is enabled, whether in venv or not, running first python script is working, but all subsequent run commands are in wrong format, with no '&' at front, and ' ' in python executable path is not escaped, resulting in error.
Expected Behavior
Possible Solution
I believe src/features/terminal/runInTerminal.ts is involved
The text was updated successfully, but these errors were encountered: