[luatex] Strange behavior for io.popen

David Carlisle d.p.carlisle at gmail.com
Tue Jun 6 22:57:46 CEST 2017


On 6 June 2017 at 20:02, Br. Samuel Springuel <rpspringuel at gmail.com> wrote:

>
> Besides the original Ubuntu 16.04 system this was seen on, we've also been
> able to confirm it on Gentoo, Mac 10.10 (Yosemite), and Windows 10 and so
> believe the problem to be platform independent.
>
>
same in cygwin, here's a plain tex example

\directlua{
 f = io.popen('cd', 'r')
}
\bye

which produces


This is LuaTeX, Version 1.0.5 (TeX Live 2017)
 system commands enabled.
(./file.tex)
warning  (pdf backend): no pages of output.
Transcript written on file.log.
/bin/sh: all: command not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20170606/a36e061b/attachment.html>


More information about the luatex mailing list