On my Windows 10 Lua 5.3 install, the builtin function os.tmpname is returning an absolute path that already includes the TEMP environment variable. winapi.temp_name is concatenating this with TEMP again, creating an invalid path.
This is the same issue as lunarmodules/Penlight#187.
On my Windows 10 Lua 5.3 install, the builtin function
os.tmpnameis returning an absolute path that already includes theTEMPenvironment variable.winapi.temp_nameis concatenating this withTEMPagain, creating an invalid path.This is the same issue as lunarmodules/Penlight#187.