summaryrefslogtreecommitdiffstats
path: root/Source/cmUVProcessChain.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-05-26 14:30:05 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-05-26 15:25:32 (GMT)
commit67bb1ee50cde981dd36f2b9964013c330f7e92fe (patch)
tree1e6e4484530ff28ccfb0827f0925393c3d81dafd /Source/cmUVProcessChain.h
parentcf7b7600c669ea162e0c3960c3e4e3a5d04f3274 (diff)
downloadCMake-67bb1ee50cde981dd36f2b9964013c330f7e92fe.zip
CMake-67bb1ee50cde981dd36f2b9964013c330f7e92fe.tar.gz
CMake-67bb1ee50cde981dd36f2b9964013c330f7e92fe.tar.bz2
cmUVProcessChain: Add working directory option
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 5e8e7e6..44a4888 100644
--- a/Source/cmUVProcessChain.h
+++ b/Source/cmUVProcessChain.h
@@ -31,6 +31,7 @@ public:
cmUVProcessChainBuilder& SetNoStream(Stream stdio);
cmUVProcessChainBuilder& SetBuiltinStream(Stream stdio);
cmUVProcessChainBuilder& SetExternalStream(Stream stdio, int fd);
+ cmUVProcessChainBuilder& SetWorkingDirectory(std::string dir);
cmUVProcessChain Start() const;
@@ -57,6 +58,7 @@ private:
std::array<StdioConfiguration, 3> Stdio;
std::vector<ProcessConfiguration> Processes;
+ std::string WorkingDirectory;
};
class cmUVProcessChain