MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / PostLaunchCommand

Method PostLaunchCommand

launcher/launch/steps/PostLaunchCommand.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

getPostExitCommandMethod · 0.80
instanceMethod · 0.45
createEnvironmentMethod · 0.45

Tested by

no test coverage detected