summaryrefslogtreecommitdiffstats
path: root/Source/cmUVProcessChain.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-05-26 19:52:01 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-05-26 19:52:01 (GMT)
commitec80090ce347f639fc893d0f56385da3c2ad28ec (patch)
tree3efdf6d74ca8f7737724d0bfe80b673ccc33eb83 /Source/cmUVProcessChain.h
parent67bb1ee50cde981dd36f2b9964013c330f7e92fe (diff)
downloadCMake-ec80090ce347f639fc893d0f56385da3c2ad28ec.zip
CMake-ec80090ce347f639fc893d0f56385da3c2ad28ec.tar.gz
CMake-ec80090ce347f639fc893d0f56385da3c2ad28ec.tar.bz2
cmUVProcessChain: Add option for merged output and error
Diffstat (limited to 'Source/cmUVProcessChain.h')
-rw-r--r--Source/cmUVProcessChain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmUVProcessChain.h b/Source/cmUVProcessChain.h
index 44a4888..3ade3fd 100644
--- a/Source/cmUVProcessChain.h
+++ b/Source/cmUVProcessChain.h
@@ -30,6 +30,7 @@ public:
const std::vector<std::string>& arguments);
cmUVProcessChainBuilder& SetNoStream(Stream stdio);
cmUVProcessChainBuilder& SetBuiltinStream(Stream stdio);
+ cmUVProcessChainBuilder& SetMergedBuiltinStreams();
cmUVProcessChainBuilder& SetExternalStream(Stream stdio, int fd);
cmUVProcessChainBuilder& SetWorkingDirectory(std::string dir);
@@ -59,6 +60,7 @@ private:
std::array<StdioConfiguration, 3> Stdio;
std::vector<ProcessConfiguration> Processes;
std::string WorkingDirectory;
+ bool MergedBuiltinStreams = false;
};
class cmUVProcessChain