Skip to content

Commit

Permalink
pass command line arguments all the way to the boot-strapped jar
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jun 11, 2024
1 parent 117abfe commit 2a0f5ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ public void launchApplication() {
String fc =!isWin()?
command + " " + bindir + myVersionString + "/" + jarName+"":
command + " \"" + bindir + myVersionString + "/" + jarName+"\"";

for(String s:argsFromSystem) {
fc+=(" "+s);
}

String finalCommand=fc;
System.out.println("Running:\n\n"+finalCommand+"\n\n");
Expand Down

0 comments on commit 2a0f5ca

Please sign in to comment.