model-writtenrun 9160 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Dunstan reported that invoking Windows batch scripts from modern msys2 on Windows Server 2019 required a workaround, describing this as his last obstacle to declaring msys2 fully supportable #1.
- Andrew attached a patch changing both cmd /c invocations in src/bin/pg_upgrade/test.sh to cmd //c and reported that this also worked on older versions #1.
- Peter Eisentraut suggested setting MSYS2_ARG_CONV_EXCL instead, citing documented argument-conversion controls and potential effects on non-msys2 environments #2.
- Andrew accepted Peter's alternative in the thread's final message #3.
- Andrew then committed the revised fix, setting MSYS2_ARG_CONV_EXCL=/c for both batch invocations and updating the comment, with backpatching to all live branches 73ff3a0abb.