MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / executablePathFromPid

Function executablePathFromPid

src/utils/executable_path_proc.cpp:11–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <QFileInfo>
10
11QString executablePathFromPid(pid_t pid)
12{
13 return QFileInfo(QStringLiteral("/proc/%1/exe").arg(pid)).symLinkTarget();
14}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected