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

Use shell mode for executing commands #202

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Use shell mode for executing commands #202

merged 2 commits into from
Nov 27, 2023

Conversation

aidenfoxx
Copy link
Contributor

In Windows when running the plugin with the MSYS2 Meson package, the plugin throws the error "Meson version doesn't match expected output:". After some investigation I found that the response from execFile was returning: error: null, stdout: "" and stderr: "1.3.0". I was unable to replicate this behavior in a shell, so I updated execFile to use "shell" mode by default, which solves the issue.

This seems to be specific to the MSYS2 package of meson, since using the pip version runs fine. However, since this is such a simple change that should not affect functionality, I thought I'd submit it.

@tristan957
Copy link
Contributor

Looks like there is a prettier issue.

@aidenfoxx
Copy link
Contributor Author

Sorry about that. Should be solved.

@tristan957 tristan957 merged commit 3946f91 into mesonbuild:main Nov 27, 2023
5 checks passed
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.

None yet

2 participants