[Dev-luatex] os.execute: All command execution is disabled

Taco Hoekwater taco at elvenkind.com
Wed Aug 18 13:59:41 CEST 2010

Linas wrote:
> Hi, all,
> I'm trying to run any program with io.popen or io.execute and it's not working.
> 1) io.execute returns 'nil'
> 2) io.popen returns 'nil  All command execution is disabled' 
> simple example:
> \documentclass{article}
> \begin{document}
> \directlua{print (io.popen('ipconfig.exe'))}
> \end{document}
> winxp, texlive2009, luatex version: beta-0.40.6-2009110118
> in file 'loslibext-1.c' i see that this output is returned if shellenabledp <=0.
> so, question is how to enable shell execution! \pdfshellescape is removed from
> that version.

In texmf.cnf, set

  shell_escape = t

or run the executable with the commandline argument --shell-escape

Best wishes,

More information about the dev-luatex mailing list