MCPcopy Create free account
hub / github.com/MultiMC/Launcher / executeTask

Method executeTask

launcher/launch/steps/PostLaunchCommand.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void PostLaunchCommand::executeTask()
29{
30 QString postlaunch_cmd = m_parent->substituteVariables(m_command);
31 emit logLine(tr("Running Post-Launch command: %1").arg(postlaunch_cmd), MessageLevel::Launcher);
32 m_process.start(postlaunch_cmd);
33}
34
35void PostLaunchCommand::on_state(LoggedProcess::State state)
36{

Callers

nothing calls this directly

Calls 2

substituteVariablesMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected