Skip to content

Commit

Permalink
use ShellExecute
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin committed Nov 15, 2024
1 parent 8c40e88 commit 723b558
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ protected List<String> command(List<String> opts, List<String> args) {
new File(".\\target\\" + finalName + "-jri\\bin\\start.ps1").setExecutable(true);

if (IS_WINDOWS) {
return new CommandBuilder(".\\target\\" + finalName + "-jri\\bin\\start.ps1")
return new CommandBuilder("ShellExecute .\\target\\" + finalName + "-jri\\bin\\start.ps1")
.append("--jvm", String.join(" ", opts))
.append(args)
.command();
Expand Down

0 comments on commit 723b558

Please sign in to comment.