| 17 | #include <launch/LaunchTask.h> |
| 18 | |
| 19 | PostLaunchCommand::PostLaunchCommand(LaunchTask *parent) : LaunchStep(parent) |
| 20 | { |
| 21 | auto instance = m_parent->instance(); |
| 22 | m_command = instance->getPostExitCommand(); |
| 23 | m_process.setProcessEnvironment(instance->createEnvironment()); |
| 24 | connect(&m_process, &LoggedProcess::log, this, &PostLaunchCommand::logLines); |
| 25 | connect(&m_process, &LoggedProcess::stateChanged, this, &PostLaunchCommand::on_state); |
| 26 | } |
| 27 | |
| 28 | void PostLaunchCommand::executeTask() |
| 29 | { |
nothing calls this directly
no test coverage detected