MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / create

Method create

src/core/processrunner.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 : config(std::move(cfg)), stopFlag(stop) {}
18
19auto ProcessRunner::create(ProcessRunnerConfig config,
20 const std::atomic<bool> &stopFlag) -> std::unique_ptr<ProcessRunner> {
21#ifdef Q_OS_WIN32
22 return std::make_unique<WinProcessRunner>(std::move(config), stopFlag);
23#else
24 return std::make_unique<UnixProcessRunner>(std::move(config), stopFlag);
25#endif
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected