Arun Prasath
Arun Prasath

Reputation: 1

Change the Python Terminal from Bash to CMD in VSCODE

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.

Upvotes: 0

Views: 1030

Answers (2)

Balizok
Balizok

Reputation: 1085

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

Upvotes: 0

MingJie-MSFT
MingJie-MSFT

Reputation: 9447

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

Upvotes: 2

Related Questions