Closed zacharyneveu closed 1 month ago
There are two julia.exe
involved in all of this. The one in WindowsApps
is the Juliaup launcher, it is just a small wrapper that selects which actual Julia version to launch. The "real" julia.exe
that is running in your case is the one in the ~\.julia\juliaup
subfolder, so the info in Sys.BINDIR
is correct. The second julia.exe
should be a child process of the julia.exe
that you are seeing.
Also, when you are in WSL, it probably makes more sense to install the Linux version of Julia inside WSL and use that.
I installed Julia with
winget install julia -s msstore
on a Windows machine. Runningjulia.exe
thenSys.BINDIR
givesC:\\Users\\zach\\.julia\\juliaup\\julia-1.10.3+0.x64.w64.mingw32\\bin
, but the location of the runningjulia.exe
is/mnt/c/Users/zach/AppData/Local/Microsoft/WindowsApps/julia.exe
. The official Julia docs say thatSys.BINDIR
should be the path to the Julia executable, and many packages rely on that, using something likejoinpath(Sys.BINDIR, "julia")
to find the path to the Julia executable (that example is from Genie.jl). Ideally, there would be a better way to get the path to the running Julia executable. Short of that though,juliaup
should setSys.BINDIR
correctly for Windows app store installations.Output of
versioninfo()