1 | #pragma once |
---|---|
2 | |
3 | #include <string> |
4 | |
5 | /** Get path to the running executable if possible. |
6 | * It is possible when: |
7 | * - procfs exists; |
8 | * - there is a /proc/self/exe file; |
9 | * Otherwise return empty string. |
10 | */ |
11 | std::string getExecutablePath(); |
12 |