On Fri, Oct 21, 2016 at 8:39 PM, Deepak Jois <[email protected]> wrote: > > However, why does this not work? > > $ cat popen.lua > texconfig.kpse_init = false > texconfig.shell_escape = 't' > io.popen("ls"):read("*l") > > $ ~/.ufy/luatex --lua=popen.lua "\bye" > popen.lua:3: attempt to index a nil value
More investigation reveals that if I do set these texconfig values, the io.popen call does work a little bit later on, in my TeX document. So looks like it does not work only in the Lua initialization script.
