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,