cmUVProcessChain: Open output streams automatically

Avoid repeating the logic at every call site.
This commit is contained in:
Brad King
2025-12-19 07:52:29 -05:00
parent ca0e9418f3
commit c94d70c345
20 changed files with 93 additions and 136 deletions
+4 -2
View File
@@ -8,10 +8,13 @@
#include <string>
#include <vector>
#include "cmUVHandlePtr.h"
#include "cmUVProcessChain.h"
#include "cmUVStream.h"
namespace cm {
class uv_loop_ptr;
}
class cmInstrumentation;
class cmInstallScriptHandler
@@ -42,7 +45,6 @@ public:
std::string name;
std::unique_ptr<cmUVProcessChain> chain;
std::unique_ptr<cmUVStreamReadHandle> streamHandler;
cm::uv_pipe_ptr pipe;
};
private: