Various adaptions
This commit is contained in:
parent
10add04b91
commit
a6d3b3cc0f
11 changed files with 69 additions and 57 deletions
|
@ -60,7 +60,7 @@ else
|
|||
function geterrorcode(ec) return ec & 0xFF == 0 and ec >> 8 or 0xFF end
|
||||
end
|
||||
|
||||
local firstargs = string.format("luametatex%s%s", late_arg_pattern:match('--lua=' .. file), late_arg_pattern:match('--arg0=' .. os.selfarg[0]))
|
||||
local firstargs = string.format("luametatex --permitloadlib%s%s", late_arg_pattern:match('--lua=' .. file), late_arg_pattern:match('--arg0=' .. os.selfarg[0]))
|
||||
local args = table.concat(os.selfarg)
|
||||
if run then -- The user wants to take care of everything
|
||||
os.exit(geterrorcode(os.execute(firstargs .. args)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue