On 5 December 2015 at 21:17, luigi scarso <[email protected]> wrote: > > > On Sat, Dec 5, 2015 at 6:51 PM, David Carlisle <[email protected]> > 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
