Get path of executable May 4, 2022 by Tarik There is no cross platform way that I know. For Linux: readlink /proc/self/exe Windows: GetModuleFileName