How Can I know the Julia path of the actual process?

I was using ENV["_"] to reach the path to the julia binary. But this gives me problems because ENV["_"] is /usr/bin/nohup for nohup julia

~$ julia -e 'println(ENV["_"])'
/usr/bin/julia
~$ nohup julia -e 'println(ENV["_"])'
nohup: se descarta la entrada y se añade la salida a «nohup.out»
~$ cat nohup.out 
/usr/bin/nohup

Is there a better way to know the actual Julia path?

Best,

JULIA_HOME ?

joinpath(JULIA_HOME, Base.julia_exename()) ?

1 Like

Thanks! That is was I was looking for! :slight_smile: