Get path of executable

There is no cross platform way that I know.

For Linux: readlink /proc/self/exe

Windows: GetModuleFileName

Leave a Comment