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

Method startProcess

plugins/craft/craftruntime.cpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void CraftRuntime::startProcess(KProcess* process) const
148{
149 QStringList program = process->program();
150 QString executableInRuntime = findExecutable(program.constFirst());
151 if (executableInRuntime != program.constFirst()) {
152 program.first() = std::move(executableInRuntime);
153 process->setProgram(program);
154 }
155 setEnvironmentVariables(process);
156 process->start();
157}
158
159void CraftRuntime::startProcess(QProcess* process) const
160{

Callers 9

startMethod · 0.45
testStartProcessMethod · 0.45
testStartProcessEnvMethod · 0.45
startMethod · 0.45
definesMethod · 0.45
includesMethod · 0.45
CMakeServerMethod · 0.45
CMakeCommandsContentsMethod · 0.45
startMethod · 0.45

Calls 4

setEnvironmentVariablesFunction · 0.85
findExecutableFunction · 0.50
firstMethod · 0.45
startMethod · 0.45

Tested by 2

testStartProcessMethod · 0.36
testStartProcessEnvMethod · 0.36