I am using XeTeX, Version 3.14159265-2.6-0.999991 (MiKTeX 2.9.7200 64-bit) in a docker container with Windows Server 2016.
When I run the command
xelatex --interaction=nonstopmode test.tex I obtain this error:
Error -1073741571 (driver return code) generating output; file test.pdf may not be valid. and no pdf is generated.
However when I run
xelatex --interaction=nonstopmode --no-pdf test.tex and then
xdvipdfmx test.xdv (what is perfectly equivalent according to this post: Generating PDF from xelatex), it works.
For certain reasons, I would like to make it work in one single command. I don't have any other relevant information in any log files (in the log files I know).
Thanks for your help.