Skip to content

Commit a395991

Browse files
committed
handle spaces properly for processing-java on macOS (fixes #4779)
1 parent 90522aa commit a395991

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/src/processing/app/tools/InstallCommander.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void run() {
105105
String classPath = jarList.join(":").replaceAll(javaRoot + "\\/?", "");
106106

107107
writer.println("cd \"" + javaRoot + "\" && " +
108-
Platform.getJavaPath() +
108+
Platform.getJavaPath().replaceAll(" ", "\\\\ ") +
109109
" -Djna.nosys=true" +
110110
" $OPTION_FOR_HEADLESS_RUN" +
111111
" -cp \"" + classPath + "\"" +

todo.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ X https://github.com/processing/processing/issues/1601
2020
X JRE download fails during ant build
2121
X https://github.com/processing/processing/issues/4823
2222
X changed headerType to console (make sure changed back)
23+
X Spaces not handled correctly in when installing "processing-java" on macOS
24+
X https://github.com/processing/processing/issues/4779
2325

2426
_ blank window on startup where the "welcome" screen should be
2527
_ https://github.com/processing/processing/issues/3933
@@ -37,9 +39,6 @@ _ need to move "is this a sketch?" handling into Mode
3739
_ fix extension check for other modes
3840
_ https://github.com/processing/processing/issues/3980
3941

40-
_ Spaces not handled correctly in when installing "processing-java" on macOS
41-
_ https://github.com/processing/processing/issues/4779
42-
4342
contrib
4443
X Added the remove filter feature
4544
X https://github.com/processing/processing/pull/3890

0 commit comments

Comments
 (0)