cmSystemTools::RunSingleCommand(): Pass stdin to child process

Fixes: #25383
5 files changed