Skip to content
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

Always set shell to cmd.exe on Windows #2785

Closed
wants to merge 2 commits into from

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Oct 25, 2024

Motivation

Closes #2769

Based on what I can piece together, if you configure PowerShell to be your default shell on Windows, then exec will use that over cmd.exe, but our activation scripts are only compatible with cmd.exe.

This PR ensures that we force Windows activation to always happen on cmd.exe.

Implementation

Started using cmd.exe for the shell whenever on Windows.

Automated Tests

Adapted existing tests.

@vinistock vinistock added bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes labels Oct 25, 2024
@vinistock vinistock self-assigned this Oct 25, 2024
@vinistock
Copy link
Member Author

Doesn't solve the issue.

@vinistock vinistock deleted the vs-always-use-cmd-on-windows branch October 30, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error uninitialized constant RUBY_LSP_ACTIVATION_SEPARATOR with PowerShell (Windows)
1 participant