| 17 | : config(std::move(cfg)), stopFlag(stop) {} |
| 18 | |
| 19 | auto 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected