| 56 | } |
| 57 | |
| 58 | void MacroConditionRun::RunProcess() |
| 59 | { |
| 60 | auto result = _procConfig.StartProcessAndWait(_timeout.Milliseconds()); |
| 61 | |
| 62 | if (std::holds_alternative<ProcessConfig::ProcStartError>(result)) { |
| 63 | _error = std::get<ProcessConfig::ProcStartError>(result); |
| 64 | } else { |
| 65 | _error = ProcessConfig::ProcStartError::NONE; |
| 66 | _procExitCode = std::get<int>(result); |
| 67 | } |
| 68 | |
| 69 | _threadDone = true; |
| 70 | SetTempVarValues(); |
| 71 | } |
| 72 | |
| 73 | void MacroConditionRun::SetupTempVars() |
| 74 | { |
nothing calls this directly
no test coverage detected