Skip to content

Commit

Permalink
Use single quote to guard system properties for jlink script on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin committed Dec 11, 2024
1 parent e9e6c8e commit 2fe8321
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ protected List<String> command(List<String> opts, List<String> args) {
.append("-File")
.append("target/" + finalName + "-jri/bin/start.ps1")
.append("--jvm", opts.stream()
.map(option -> String.format("'\"\"\"%s\"\"\"'", option))
.map(option -> String.format("'%s'", option))
.collect(Collectors.joining(" ")))
.append(args)
.command();
Expand Down

0 comments on commit 2fe8321

Please sign in to comment.