MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / runningProcesses

Method runningProcesses

app/src/API/Handlers/SystemHandler.cpp:112–121  ·  view source on GitHub ↗

* @brief Lists every managed helper process currently running. */

Source from the content-addressed store, hash-verified

110 * @brief Lists every managed helper process currently running.
111 */
112API::CommandResponse API::Handlers::SystemHandler::runningProcesses(const QString& id,
113 const QJsonObject& params)
114{
115 Q_UNUSED(params)
116
117 QJsonObject result;
118 result[QStringLiteral("processes")] =
119 QJsonArray::fromVariantList(ProcessLauncher::instance().runningProcesses());
120 return CommandResponse::makeSuccess(id, result);
121}
122
123/**
124 * @brief Starts the bundled zero-hardware rocket-launch demo project.

Callers 1

getRunningProcessesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected