MCPcopy Create free account
hub / github.com/KDE/kdevelop / start

Method start

plugins/executescript/scriptappjob.cpp:158–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157
158void ScriptAppJob::start()
159{
160 qCDebug(PLUGIN_EXECUTESCRIPT) << "launching?" << proc;
161 if( proc )
162 {
163 Q_ASSERT(error() == NoError);
164 startOutput();
165 appendLine( i18n("Starting: %1", proc->program().join(QLatin1Char( ' ' ) ) ) );
166 ICore::self()->runtimeController()->currentRuntime()->startProcess(proc);
167 } else
168 {
169 // No process means we've returned early on from the constructor, some bad error happened
170 Q_ASSERT(error() != NoError);
171 emitResult();
172 }
173}
174
175bool ScriptAppJob::doKill()
176{

Callers

nothing calls this directly

Calls 4

joinMethod · 0.80
currentRuntimeMethod · 0.80
runtimeControllerMethod · 0.80
startProcessMethod · 0.45

Tested by

no test coverage detected