Environment data
- VS Code version: 1.34.0
- Extension version: 2019.5.18426
- OS and version: Windows 10
- Python version: Python 2.7
Expected behaviour
Runs python correctly
C:\Users\peterh>C:/Python27/python.exe c:/Users/peterh/test.py
Actual behaviour
Uses invalid syntax for cmd (possibly uses powershell syntax)
C:\Users\peterh>& C:/Python27/python.exe c:/Users/peterh/test.py
& was unexpected at this time.
Steps to reproduce:
- Download ms-python 2019.5.18426
- Run file/line in cmd terminal
StackOverflow posts with issue
https://stackoverflow.com/questions/56456924/ampersand-syntax-error-running-any-python-script-in-vscode
https://stackoverflow.com/questions/56453888/run-python-file-in-terminal-fails-was-unexpected
Environment data
Expected behaviour
Runs python correctly
Actual behaviour
Uses invalid syntax for cmd (possibly uses powershell syntax)
Steps to reproduce:
StackOverflow posts with issue
https://stackoverflow.com/questions/56456924/ampersand-syntax-error-running-any-python-script-in-vscode
https://stackoverflow.com/questions/56453888/run-python-file-in-terminal-fails-was-unexpected