mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
12 lines
242 B
C++
12 lines
242 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
/** Get path to the running executable if possible.
|
|
* It is possible when:
|
|
* - procfs exists;
|
|
* - there is a /proc/self/exe file;
|
|
* Otherwise return empty string.
|
|
*/
|
|
std::string getExecutablePath();
|