dyalog-jupyter-kernel icon indicating copy to clipboard operation
dyalog-jupyter-kernel copied to clipboard

Linux: don't search for installed interpreters

Open jayfoad opened this issue 7 years ago • 0 comments

On Linux the kernel tries to search for the newest installed dyalog executable. I think it would be better just to invoke "dyalog", as the package installation mechanism makes sure that that will run the latest interpreter by default, and more importantly there are ways for the user to override it if he really wants to.

For example, this tells me that I have 16.0 and 17.0 installed, and "dyalog" currently runs 17.0:

$ update-alternatives --display dyalog
dyalog - auto mode
  link best version is /opt/mdyalog/17.0/64/unicode/mapl
  link currently points to /opt/mdyalog/17.0/64/unicode/mapl
  link dyalog is /usr/bin/dyalog
/opt/mdyalog/16.0/64/unicode/mapl - priority 160
/opt/mdyalog/17.0/64/unicode/mapl - priority 170

jayfoad avatar Oct 05 '18 14:10 jayfoad