How to get the julia executable from within Julia?

Hi, how can I get the currently running Julia executable file path from within the Julia instance?

This
joinpath(Sys.BINDIR, Base.julia_exename())
works for me.

(Credit goes to v0.7 compatible branch of PkgBenchmarks , @fredrikekre )

1 Like

Awesome, thanks!