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

determine shell for .cmd, .bat, .ps1 #4044

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

gcampbell-msft
Copy link
Collaborator

@gcampbell-msft gcampbell-msft commented Sep 5, 2024

Test VSIX:
cmake-tools.zip

Fixes #4037. Fixes #4042

We did not change anything regarding this between 1.18 and 1.19. This issue comes from a breaking change in VS Code, where in version 1.92, which came out in July, they update to node v20 which requires more strict options regarding proc.spawn: Visual Studio Code July 2024.

@gcampbell-msft
Copy link
Collaborator Author

Likely need more logic for only doing determine shell on Windows.

@gcampbell-msft
Copy link
Collaborator Author

@moyo1997 ping for review, thanks!

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

Successfully merging this pull request may close these issues.

CMake executable cannot be a script Error when ninja is not in PATH (but ninja can be executed by cmake)
1 participant