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

Fail to disable profile because shell interprets the '!' character #995

Open
Eskibear opened this issue Sep 11, 2023 · 0 comments · May be fixed by #1031
Open

Fail to disable profile because shell interprets the '!' character #995

Eskibear opened this issue Sep 11, 2023 · 0 comments · May be fixed by #1031
Assignees
Labels
bug Something isn't working

Comments

@Eskibear
Copy link
Member

This fails under MacOs on my box because the shell interprets the '!' character before it runs the command. Any way of tweaking this so that Bash and Zsh you could get it to use the Maven alternative syntax -P-disableThisProfile,enableThisProfile ?

Originally posted by @JFK-DXML in #956 (comment)

https://maven.apache.org/guides/introduction/introduction-to-profiles.html#deactivating-a-profile

Maybe we can use - instead of ! to have better compatibility.

@testforstephen testforstephen added the bug Something isn't working label Nov 20, 2023
imerljak added a commit to imerljak/vscode-maven that referenced this issue May 8, 2024
Fixes issues with bash/zsh special meaning to ! symbol.

Resolves microsoft#995
@imerljak imerljak linked a pull request May 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants