--- context.orig/texmf-dist/scripts/context/lua/mtxrun.lua 2021-03-06 22:58:15.000000000 +0100 +++ context/texmf-dist/scripts/context/lua/mtxrun.lua 2024-04-04 13:20:18.978832110 +0200 @@ -25606,7 +25606,7 @@ end return concat(flags," ") end -local template=[[--ini %primaryflags% --lua=%luafile% %texfile% %secondaryflags% %redirect%]] +local template=[[--ini %primaryflags% --socket --shell-escape --lua=%luafile% %texfile% %secondaryflags% %redirect%]] local checkers={ primaryflags="verbose", secondaryflags="verbose", @@ -25741,7 +25741,7 @@ report_format() lfs.chdir(startupdir) end -local template=[[%primaryflags% --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]] +local template=[[%primaryflags% --socket --shell-escape --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]] local checkers={ primaryflags="verbose", secondaryflags="verbose", @@ -26191,8 +26191,8 @@ runners = runners or { } -- global (might become local) runners.applications = { - ["lua"] = "luatex --luaonly", - ["luc"] = "luatex --luaonly", + ["lua"] = "luatex --luaonly --socket", + ["luc"] = "luatex --luaonly --socket", ["pl"] = "perl", ["py"] = "python", ["rb"] = "ruby", --- context.orig/texmf-dist/scripts/context/stubs/unix/mtxrun 2021-03-06 22:58:15.000000000 +0100 +++ context/texmf-dist/scripts/context/stubs/unix/mtxrun 2024-04-04 13:20:18.978832110 +0200 @@ -25606,7 +25606,7 @@ end return concat(flags," ") end -local template=[[--ini %primaryflags% --lua=%luafile% %texfile% %secondaryflags% %redirect%]] +local template=[[--ini %primaryflags% --socket --shell-escape --lua=%luafile% %texfile% %secondaryflags% %redirect%]] local checkers={ primaryflags="verbose", secondaryflags="verbose", @@ -25741,7 +25741,7 @@ report_format() lfs.chdir(startupdir) end -local template=[[%primaryflags% --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]] +local template=[[%primaryflags% --socket --shell-escape --fmt=%fmtfile% --lua=%luafile% %texfile% %secondaryflags%]] local checkers={ primaryflags="verbose", secondaryflags="verbose", @@ -26191,8 +26191,8 @@ runners = runners or { } -- global (might become local) runners.applications = { - ["lua"] = "luatex --luaonly", - ["luc"] = "luatex --luaonly", + ["lua"] = "luatex --luaonly --socket", + ["luc"] = "luatex --luaonly --socket", ["pl"] = "perl", ["py"] = "python", ["rb"] = "ruby",