Race condition (?) in 3 2 ... #lua has io.tmpfile() for this - but it doesn't return a filename, just a filehandle tsss
https://octodon.social/media/qgFpIGHtKCkZNTXcIio
luaposix has stdlib.mkstemp() that is vastly superior, it's a binding to the mkstemp(3) found in the C library.
It's an external dependency though, but lua standard library is so small that it's expected.
luaposix has stdlib.mkstemp() that is vastly superior, it's a binding to the mkstemp(3) found in the C library.
It's an external dependency though, but lua standard library is so small that it's expected.