This is a tiny library for finding the pathname of the running executable https://github.com/ceramic/trivial-exe Thanks!