System queries for LaTeX using Lua

The LaTeX3 Project
Packaged on:
04/11/2024 09:06:24
Number of files:
Size on disk:
367.51 kB

The l3sys-query script provides a method for TeX runs to obtain system information via shell escape to Lua. The facilities are more limited than the similar Java script texosquery, but since it uses Lua, l3sys-query can be used out of the box; with any installed TeX system. The script is written taking account of TeX Live security requirements; it is therefore suitable for use with restricted shell escape, the standard setting when installing a TeX system. The supported queries are lsDirectory listing supporting a range of options pwdObtaining details of the current working directory