[luatex] shell-escape broken?

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jun 7 14:39:29 CEST 2016


On 07/06/2016 07:23, Laube, Ulrich wrote:
>> Hi!
> 
> I have tried TL16 on different computers running Linux by now and one thing I noticed is the following:
> 
> \documentclass{minimal}
> \begin{document}
> \immediate\write18{uname -s > "foobar"}
> \end{document}
> 
> With
> 
> pdflatex --shell-escape test.tex
> 
> the file foobar is created. With 
> 
> lualatex --shell-escape test.text
> 
> it is not. Can someone confirm this?
> 
> This seems to break (at least)
> minted.sty (which tries to do \write18{which "pygmentize" && touch \jobname.aex})
> and
> ifplatform.sty.
> 
> 
> Kind regards
> Uli Laube

With the latest LuaTeX \write18 is no longer 'special'.  The LaTeX team
have a new package shellesc to address this.

Joseph



More information about the luatex mailing list