On Windows (MiKTeX), lualatex has a --aux-directory switch.
On Linux (TeXLive) it does not.
Why is that? If it is a downstream patch only present in MiKTeX, why is it not in upstream lualatex?
It seems like the same issue affects pdflatex and other engines
aux-directoryis miktex specific, it is mostly covered by the functionality of the-output-directoryoption in texlive, Personally I think either of them is a really bad idea over and over again we see people with broken documents as aux files have been directed to some non standard place and then the user has failed to configure every other program in the tex pipeline to find them. – David Carlisle Jul 01 '18 at 19:56