-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Each argument is first double quoted, but because of the default configuration of `org.apache.maven.shared.utils.cli.shell.Shell` is also single quoted on top. This leads to a shell command line which is not executable. To fix this, leave the double quoting of each argument as it was, disable the single quoting of each argument with `Shell` configuration and wrap all the arguments as a whole string with single quotes, so that they are passed into `bin/sh -c`, example: ``` bin/sh -c '"--module-path" "foo:bar" "--add-modules" "mod1,mod2"' ```
- Loading branch information
Showing
2 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters