From 2a0f5ca7de5b3a1524ce9b5ae5a97e70c87e70cb Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Tue, 11 Jun 2024 00:48:13 -0400 Subject: [PATCH] pass command line arguments all the way to the boot-strapped jar --- .../com/commonwealthrobotics/LatestFromGithubLaunchUI.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/main/java/com/commonwealthrobotics/LatestFromGithubLaunchUI.java b/lib/src/main/java/com/commonwealthrobotics/LatestFromGithubLaunchUI.java index ef675d6..f90e3df 100644 --- a/lib/src/main/java/com/commonwealthrobotics/LatestFromGithubLaunchUI.java +++ b/lib/src/main/java/com/commonwealthrobotics/LatestFromGithubLaunchUI.java @@ -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");