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["_"])'
~$ nohup julia -e 'println(ENV["_"])'
nohup: se descarta la entrada y se añade la salida a «nohup.out»
~$ cat nohup.out 

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




joinpath(JULIA_HOME, Base.julia_exename()) ?


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