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 Answers 2

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

Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.