[luatex] status.shell_escape broken in texlive 2017

luigi scarso luigi.scarso at gmail.com
Wed Apr 19 12:16:59 CEST 2017


On Wed, Apr 19, 2017 at 9:03 AM, David Carlisle <d.p.carlisle at gmail.com> wrote:
>
> \directlua{print('shell-escape = ' .. status.shell_escape)}
>
>
> \bye
>
> the above if run with luatex (and no --shell-escape option)
> returns
> texshell-es
> cape = 2
>
> in texlive 2016  (even using a luatex 1.04 test release)
>
> but
>
> texshell-escape = 1
>
> in 2017
>
> This has broken lots of things and causing mail
> on the texlive list, was this an intended change?
>
> David
>
>
>
no, it's
shell_escape       0 means disabled, 1 is restricted  and 2  means
anything is permitted
(which looks natural  but it is wrong)
vs
shell_escape       0 means disabled,  1 means anything is permitted,
and 2 is restricted
(which is what the web2c manual says)

It should be fixed now.

-- 
luigi


More information about the luatex mailing list