18 Aug
2010
18 Aug
'10
1:59 p.m.
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, Taco