1
The following C code (popen3luatex.c) implements a command call at the C level.
This can be called from LuaTeX using the LaTeX file popen3luatex.tex, below popen3luatex.c.
I've written little C code for the past 20 years, so this C code is probably buggy and stylistically poorly written, but most...