Skip to content

fix: Correct execing of Maven/Gradle #1065

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

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

chadlwilson
Copy link
Contributor

@chadlwilson chadlwilson commented Mar 26, 2025

Fixes #1064

Apparently this similar approach via execSync without special options worked earlier, as apparently in NodeJS exec seems to always run with a shell even though spawn (used to locate the commands) does not.

@gaugebot
Copy link

gaugebot bot commented Mar 26, 2025

@chadlwilson Thank you for contributing to gauge-vscode. Your pull request has been labeled as a release candidate 🎉🎉.

Merging this PR will trigger a release.

Please bump up the version as part of this PR.

Instructions to bump the version can found at CONTRIBUTING.md

If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done.

Should work OK as `exec` seems to always run with a shell even though `spawn` (used to locate the commands) does not.

Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
@chadlwilson chadlwilson force-pushed the fix-maven-gradle-commands-again branch from 3b80ac1 to c2a15ff Compare March 26, 2025 15:55
@chadlwilson chadlwilson merged commit 1db0f41 into master Mar 26, 2025
4 checks passed
@chadlwilson chadlwilson deleted the fix-maven-gradle-commands-again branch March 26, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Maven projects do not load/run correctly.
1 participant