Files
sbt/launcher-package
eugene yokota 67df6f48ee [2.0.x] fix: Fixes Windows runner (#9680)
**Problem**
1. On Windows, sbt.bat re-parses its own already-received arguments a second time internally, via call/goto with an unquoted variable splice (call :run !SBT_ARGS!, and similarly for -D/-XX flags, several _SBT_OPTS-sourced flags, and the native-client dispatch path). That extra re-tokenization could let &, |, (, or ) inside an argument escape their quoting and run as separate shell commands.
2. The -D/-XX/-- argument handling spliced the raw argument value into a for /F ... in ("%g%") do ( ... ) construct nested up to four levels deep inside multi-line if blocks. Apparently, that confuses cmd to miscount the parentheses.

**Solution**
1. Call :run without the argument.
2. Avoid for /F
2026-08-26 18:40:38 -04:00
..
2025-01-02 13:52:51 +09:00
2025-02-04 01:11:28 -05:00
2021-04-19 10:45:29 -04:00
2025-08-24 00:17:58 -04:00
2023-06-20 16:39:07 +02:00