[luatex] \pdfshellescape

David Carlisle d.p.carlisle at gmail.com
Sat Dec 5 22:51:43 CET 2015


On 5 December 2015 at 21:17, luigi scarso <luigi.scarso at gmail.com> wrote:
>
>
> On Sat, Dec 5, 2015 at 6:51 PM, David Carlisle <d.p.carlisle at gmail.com>
> wrote:

>
> try
>
> \directlua{print('os.execute():|',os.execute(),'|')}
> \bye
>
> with  also
> --shell-restricted
> --no-shell-escape
>
> It should be ok.
>
>
>
> --
> luigi


Oh thanks!

Hmm so os.execute with empty argument doesn't call the shell and just
returns 0,1 or 2?

I have to ask, could I have deduced that from the manual?;-)

David


More information about the luatex mailing list