How to pass -shell-escape and -jobname?

#1

I am migrating some TeX documents from XeLaTeX to Tectonic. With XeLaTeX, I compile as follows:

xelatex -shell-escape -jobname=resume-nophone resume.tex

However, Tectonic does not appear to support -shell-escape and -jobname, so my document fails to compile properly. How can I replicate the behavior of XeLaTeX?

#2

I don’t think you can without modifying your document: -shell-escape is not supported, see https://github.com/tectonic-typesetting/tectonic/issues/38