mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +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();
|