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

Method executeTask

launcher/launch/steps/PreLaunchCommand.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void PreLaunchCommand::executeTask()
29{
30 //FIXME: where to put this?
31 QString prelaunch_cmd = m_parent->substituteVariables(m_command);
32 emit logLine(tr("Running Pre-Launch command: %1").arg(prelaunch_cmd), MessageLevel::Launcher);
33 m_process.start(prelaunch_cmd);
34}
35
36void PreLaunchCommand::on_state(LoggedProcess::State state)
37{

Callers

nothing calls this directly

Calls 2

substituteVariablesMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected