texlive[69073] Master/texmf-dist/scripts/context/lua: pass --socket

commits+karl at tug.org commits+karl at tug.org
Sat Dec 9 00:11:36 CET 2023


Revision: 69073
          https://tug.org/svn/texlive?view=revision&revision=69073
Author:   karl
Date:     2023-12-09 00:11:35 +0100 (Sat, 09 Dec 2023)
Log Message:
-----------
pass --socket for luatex 1.17.0, per akira&hans

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/context/lua/mtx-context.lua
    trunk/Master/texmf-dist/scripts/context/lua/mtxrun.lua

Modified: trunk/Master/texmf-dist/scripts/context/lua/mtx-context.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/context/lua/mtx-context.lua	2023-12-08 21:37:59 UTC (rev 69072)
+++ trunk/Master/texmf-dist/scripts/context/lua/mtx-context.lua	2023-12-08 23:11:35 UTC (rev 69073)
@@ -1,3 +1,5 @@
+-- 8dec23 --socket added to restart per akira/hans (mail of 7dec23).
+
 if not modules then modules = { } end modules['mtx-context'] = {
     version   = 1.001,
     comment   = "companion to mtxrun.lua",
@@ -114,7 +116,7 @@
     local generate  = environment.arguments.generate and (engine_new == "luatex" or engine_new == "luajittex")
     local arguments = generate and  "--generate" or environment.reconstructcommandline()
     local ownname   = filejoinname(filepathpart(environment.ownname),"mtxrun.lua")
-    local command   = format("%s --luaonly %q %s --redirected",engine_new,ownname,arguments)
+    local command   = format("%s --luaonly --socket %q %s --redirected",engine_new,ownname,arguments)
     report(format("redirect %s -> %s: %s",engine_old,engine_new,command))
     local result = os.execute(command)
     os.exit(result == 0 and 0 or 1)

Modified: trunk/Master/texmf-dist/scripts/context/lua/mtxrun.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/context/lua/mtxrun.lua	2023-12-08 21:37:59 UTC (rev 69072)
+++ trunk/Master/texmf-dist/scripts/context/lua/mtxrun.lua	2023-12-08 23:11:35 UTC (rev 69073)
@@ -1,4 +1,6 @@
 #!/usr/bin/env texlua
+-- 8dec23 --socket added to runners.applications lua and luc per hans
+-- (mail of 7dec23).
 
 if not modules then modules = { } end modules ['mtxrun'] = {
     version   = 1.001,
@@ -26487,8 +26489,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",



More information about the tex-live-commits mailing list.