Skip to content

Ninja: Use absolute path to COMSPEC if possible

scivision requested to merge scivision/cmake:cmd into master

If the COMSPEC is set to an absolute path, use it instead of just cmd.exe. This avoids searching for the tool in the current working directory and the PATH. If COMSPEC is not set to an absolute path, fall back to the existing behavior.

Issue: #18350
Topic-rename: ninja-cmd

Edited by Brad King

Merge request reports