summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/Python3SABIModule.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2025-01-31 16:51:01 (GMT)
committerBrad King <brad.king@kitware.com>2025-02-03 14:13:26 (GMT)
commit74c9d40876c955d5aca8824bfbdf78f79ca238a1 (patch)
tree28d304e1910290c90fdf96db5cb2d36d4e59c617 /Tests/RunCMake/FindPython/Python3SABIModule.cmake
parent104ca10208401c37fbf6002d937f89d201a80f41 (diff)
downloadCMake-74c9d40876c955d5aca8824bfbdf78f79ca238a1.zip
CMake-74c9d40876c955d5aca8824bfbdf78f79ca238a1.tar.gz
CMake-74c9d40876c955d5aca8824bfbdf78f79ca238a1.tar.bz2
execute_process: Fix invocation of .cmd/.bat with spaces
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
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
0 files changed, 0 insertions, 0 deletions