Skip to content

cmUVProcessChain: Tolerate fileno() of invalid FILE stream

Brad King requested to merge brad.king/cmake:cmuvprocesschain into master

On Windows, in a GUI process without a console, the std{in,out,err} standard FILE streams may not be open. Avoid passing an invalid file descriptor to the child process, and let libuv attach NUL instead.

Fixes: #25625 (closed)
Backport: release

Merge request reports