Skip to content

Stop loading of powershell.exe terminal and only have integrated terminal #2093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iyoumans opened this issue Jul 18, 2019 · 3 comments
Closed

Comments

@iyoumans
Copy link

I would like a setting that prevents the "powershell.exe" terminal from opening and only opens the "PowerShell Integrated Console" terminal. Having the two consoles trying to start at the same time causes some issues for me due to profile settings. All the settings.json settings seem to be for controlling the integrated terminal only.

@corbob
Copy link
Contributor

corbob commented Jul 18, 2019

🤔 I don't think it's possible to stop the integrated terminal from loading, but a few things that might help could be setting terminal.integrated.shell.windows to something else (like cmd.exe 😬 ), or set terminal.integrated.shellArgs.windows to include -NoProfile so that PowerShell doesn't load any profiles.

@rjmholt
Copy link
Contributor

rjmholt commented Jul 18, 2019

Related to #1968

@SydneyhSmith
Copy link
Collaborator

@corbob is correct, vscode opens the powershell.exe, and it would be dangerous for us to trash the terminal since we do not have the full context of what could be running in that terminal (for example a user could have a long-running script), so I am going to go ahead and close this issue. @iyoumans let us know if the above provided workarounds do not help address your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants