[tex-live] running tex and lua under restricted shell escape

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun Feb 14 00:18:54 CET 2016


Dear David,

> But my understanding is that recent luatex _does_ prevent lua from
> using os.execute and similar commands using the same texmf.cnf
> settings as write18 so with details to be determined
> it's not so different from running classic tex.

On Windows, (luaTeX beta-0.89.1)
--
-- test.lua
os.spawn('cmd /C del /Q abc.tex')

texlua test.lua

worked, and abc.tex was removed with
openout_any = p

Best,
Akira



More information about the tex-live mailing list