0

I am trying to change the Executing Terminal for python in VSCode from Bash to CMD. I already tried changing the default terminal by following this, but no luck.

Detailed Explanation:

In Vscode , when i hit the run button for executing python. I see that , the execution automatically chooses the Bash terminal , but i would need the execution to happen in CMD.

2 Answers2

2

You can check it in settings.

enter image description here

It's the same as adding the following line into your setting.json:

    "terminal.integrated.defaultProfile.windows": "Command Prompt",

If it still doesn't work, try reinstalling vscode

MingJie-MSFT
  • 5,569
  • 1
  • 2
  • 13
0

If you just changed your default terminal, try restarting your computer, that worked for me, it wasn't taken into account before I did.

Balizok
  • 904
  • 2
  • 5
  • 19