Skip to content

Commit bc71b47

Browse files
authored
Map \ in a Windows path to / in order not to break JSON (#370)
1 parent 020a6eb commit bc71b47

File tree

1 file changed

+1
-1
lines changed
  • tulip-runtime/src/main/java/io/github/wfouche/tulip/api

1 file changed

+1
-1
lines changed

tulip-runtime/src/main/java/io/github/wfouche/tulip/api/TulipApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static String getJavaInformation() {
145145
"["
146146
+ jvmArgs.stream()
147147
.distinct()
148-
.map(arg -> "\"" + arg.replace("\"", "\\\"") + "\"")
148+
.map(arg -> "\"" + arg.replace("\\", "/") + "\"")
149149
.collect(Collectors.joining(", "))
150150
+ "]";
151151
s += " }";

0 commit comments

Comments
 (0)