mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
74c9d40876
The `CreateProcessW` documentation states "to run a batch file, you must start the command interpreter". Use `cmd /c the.bat` to run batch files. Also, use a "short path" to the `.bat` file if needed to avoid spaces. Previously this worked in some cases only due to undocumented behavior of `CreateProcessW` when given a `.bat` file. Fixes: #26655
20 KiB
20 KiB