I tried this but it doesn’t work. I am a windows user and I am trying to execute some fortran files in pluto, so I need mingw64. I failed to do it with wsl too, I’m starting to lose faith. How can I access files from windows but tell pluto that I want to work in msys2?
julia> output = read(`mingw64 $FORTRANexe`, String)
ERROR: IOError: could not spawn `mingw64 ''`: no such file or directory (ENOENT)
or something similar?
[At first I didn’t even know what you meant, since what I read and even tried to copy-paste from you did not parse for me, but FYI, it’s always better to triple quote code, with three backticks, so that Discourse doesn’t show it differently as in your case.]
I don’t know where or how you installed mingw64 from, you might locate it and use a full path to it as a test there. I’m not sure what kind of search PATH is used in Pluto, or even if it’s disallowed to spawn an executable. Could it be that since your Pluto notebook runs in the browser, possibly with no file-system access, this is simply disallowed?
I would try to run your program just in the REPL, Pluto files are I think even executable there (they are simply Julia code), need not run in a browser?
If you find no workaround, then one would be run the program to get it’s output, I’m assuming you can do it separately, like it’s not changing all the time.
Then you still have to problem of reading that output file. It might also be disallowed, just reading the file-system, not just spawning executables, but then you could access it from some web-service, like simple HTTPS access?