I am trying to batch process a large number of files on Windows 10 generated by Mathematica using the
Run command. Specifically, I am using Mathematica to create LaTeX files, then I'd like to use the Run command to compile them with XeLaTeX.
Run["xelatex.exe foo.tex"] works, but a command prompt window opens overtop anything else I am doing.
Following the recommendation from this post, I tried
Run["!xelatex.exe foo.tex"] but that doesn't do anything but give a return code of 1. Additionally, using the "!" seems to go against some of the instructions given in this reference page.
Is there something else to do to keep the command window from opening?