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

Method catchErrors

kdevplatform/shell/runtimecontroller.cpp:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47private:
48 static void catchErrors(const QProcess& process)
49 {
50 connect(&process, &QProcess::errorOccurred, [&process](QProcess::ProcessError error) {
51 qCWarning(SHELL).noquote().nospace()
52 << "process finished with error: " << error << " \"" << process.errorString()
53 << "\", the command line: \"" << KShell::quoteArg(process.program()) << ' '
54 << KShell::joinArgs(process.arguments()) << '"';
55 });
56 }
57};
58
59KDevelop::RuntimeController::RuntimeController(KDevelop::Core* core)

Callers

nothing calls this directly

Calls 2

errorStringMethod · 0.45
argumentsMethod · 0.45

Tested by

no test coverage detected