diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-05 21:24:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-05 21:24:24 +0000 |
commit | 0e33ca376dc3608120a8432ca8967d60e3c14407 (patch) | |
tree | a40c6e3880481cb291cf075962f1cf32242ccde6 /Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua | |
parent | f1e81a3aeba249ef91f772aecea8a2147963cbd2 (diff) |
pyluatex (5feb22)
git-svn-id: svn://tug.org/texlive/trunk@61901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua b/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua index 6e9c6abb631..f95ab989c08 100644 --- a/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua +++ b/Master/texmf-dist/tex/lualatex/pyluatex/pyluatex.lua @@ -1,7 +1,7 @@ --[[ MIT License -Copyright (c) 2021 Tobias Enderle +Copyright (c) 2021-2022 Tobias Enderle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -73,6 +73,10 @@ function pyluatex.start(executable) end end +function pyluatex.shutdown() + tcp:send(json.encode("shutdown") .. "\n") +end + local function request(data) tcp:send(json.encode(data) .. "\n") local output = tcp:receive("*l") |