The use of success(`$(tikzCommand()) -v`) appears throughout as a test of whether lualatex is able to be used. It also shows up in the runtests.jl as success(`lualatex -v`). However, success raises an exception if the process cannot be started (https://docs.julialang.org/en/v1/base/base/#Base.success).
Therefore instead of the intended use of falling back to tectonic, we get the following error:
ERROR: IOError: could not spawn `lualatex -v`: no such file or directory (ENOENT)
I recreated this behavior on Ubuntu and MacOS (M1 processor with some modifications for tectonic use).
We can fix this by creating a helper function that catches the exception of success. I was planning on including it with my pull request for the tectonic_jll change but wanted to submit the issue in case a different approach is preferred.
The use of
success(`$(tikzCommand()) -v`)
appears throughout as a test of whether lualatex is able to be used. It also shows up in the runtests.jl assuccess(`lualatex -v`)
. However,success
raises an exception if the process cannot be started (https://docs.julialang.org/en/v1/base/base/#Base.success).Therefore instead of the intended use of falling back to tectonic, we get the following error:
I recreated this behavior on Ubuntu and MacOS (M1 processor with some modifications for tectonic use).
We can fix this by creating a helper function that catches the exception of success. I was planning on including it with my pull request for the tectonic_jll change but wanted to submit the issue in case a different approach is preferred.