| 190 | }; |
| 191 | |
| 192 | void cmUVReadOnlyProcess::setup(cmWorkerPool::ProcessResultT* result, |
| 193 | bool mergedOutput, |
| 194 | std::vector<std::string> command, |
| 195 | std::string const& workingDirectory) |
| 196 | { |
| 197 | cmSystemTools::MaybePrependCmdExe(command); |
| 198 | this->Setup_.WorkingDirectory = workingDirectory; |
| 199 | this->Setup_.Command = std::move(command); |
| 200 | this->Setup_.Result = result; |
| 201 | this->Setup_.MergedOutput = mergedOutput; |
| 202 | } |
| 203 | |
| 204 | bool cmUVReadOnlyProcess::start(uv_loop_t* uv_loop, |
| 205 | std::function<void()> finishedCallback) |