Commit Graph
1 Commits
Author SHA1 Message Date
Nic a1949f1610 fix: preserve Windows paths in quoted Java arguments
splitArgs treated any backslash inside quotes as an escape character,
so a quoted Windows path such as -Dorg.lwjgl.glfw.libname="C:\Users\..."
lost its path separators before reaching the JVM, causing
java.nio.file.InvalidPathException at launch.

A backslash inside quotes now only escapes the matching quote or
another backslash, keeping escaped quotes functional while leaving
Windows path separators intact.

Signed-off-by: Nic <73386479+nicyoong@users.noreply.github.com>
2026-09-12 09:33:02 +08:00