[luatex] Allow piped input
henrimenke at gmail.com
Sat Jun 15 03:25:29 CEST 2019
On 14/06/19 10:47 PM, luigi scarso wrote:
> On Thu, Jun 13, 2019 at 5:53 AM Henri Menke <henrimenke at gmail.com> wrote:
>> Dear devs,
>> It would be great if LuaTeX accepted piped input. Currently a command
>> texlua <(echo 'print "Hello"')
>> fails with an error like "Script file /dev/fd/63 not found". I have
>> attached a simple patch which would eliminate the failure.
>> Cheers, Henri
> Does it work also in Windows ?
> (I think so )
LuaTeX uses sys/stat.h which requires POSIX, so if running in a POSIX
environment (e.g. Cygwin) it should work. Natively I don't think it
works. (does Windows even have pipes?) I can't test it because I don't
have a Windows machine.
More information about the luatex