mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 10:15:46 +00:00
Quoting and escaping every argument broke three existing Windows contracts in server tests. `echo hello` printed `"hello"`, a build script that writes `%1` wrote the quotes, and a port script that reads `%~1` got `^"` escapes it cannot remove. A plain argument now stays as given. An argument with whitespace, a quote, or no text sits inside real cmd.exe quotes, which `%~1` and the program both remove. A .cmd or .bat target also quotes an argument with cmd.exe syntax, because the script reads it again for `%*`. Only text that literal quotes leave outside a quoted region is escaped.