| 37 | #include <launch/LaunchTask.h> |
| 38 | |
| 39 | PreLaunchCommand::PreLaunchCommand(LaunchTask* parent) : LaunchStep(parent) |
| 40 | { |
| 41 | auto instance = m_parent->instance(); |
| 42 | m_command = instance->getPreLaunchCommand(); |
| 43 | m_process.setProcessEnvironment(instance->createEnvironment()); |
| 44 | connect(&m_process, &LoggedProcess::log, this, &PreLaunchCommand::logLines); |
| 45 | connect(&m_process, &LoggedProcess::stateChanged, this, &PreLaunchCommand::on_state); |
| 46 | } |
| 47 | |
| 48 | void PreLaunchCommand::executeTask() |
| 49 | { |
nothing calls this directly
no test coverage detected