KWin
Loading...
Searching...
No Matches
src
utils
executable_path_proc.cpp
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2021 Tobias C. Berner <tcberner@FreeBSD.org>
3
4
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5
*/
6
7
#include "
executable_path.h
"
8
9
#include <QFileInfo>
10
11
QString
executablePathFromPid
(pid_t pid)
12
{
13
return
QFileInfo(QStringLiteral(
"/proc/%1/exe"
).arg(pid)).symLinkTarget();
14
}
executable_path.h
executablePathFromPid
QString executablePathFromPid(pid_t pid)
Definition
executable_path_proc.cpp:11
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0