mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
ctest --launch: Restore sharing of stdin with child process
This was broken by commit 96b3dd329e (cmCTestLaunchReporter: Replace
cmsysProcess with cmUVProcessChain, 2023-07-26, v3.28.0-rc1~138^2~2).
KWSys Process shares stdin by default. Now it must be explicit.
Issue: #27610
This commit is contained in:
@@ -152,6 +152,9 @@ void cmCTestLaunch::RunChild()
|
||||
cmUVProcessChainBuilder builder;
|
||||
builder.AddCommand(this->RealArgV);
|
||||
|
||||
// We always share the input pipe.
|
||||
builder.SetExternalStream(cmUVProcessChainBuilder::Stream_INPUT, stdin);
|
||||
|
||||
cmsys::ofstream fout;
|
||||
cmsys::ofstream ferr;
|
||||
if (this->Reporter.Passthru) {
|
||||
|
||||
Reference in New Issue
Block a user