05-24-2017, 07:57 PM
It's not a deadlock. loadfile(), when called without valid parameters, loads the file from stdin.
Ref.: https://www.lua.org/manual/5.1/manual.html#pdf-loadfile
We should probably wrap the function in a wrapper that disallows the stdin reading and return an error instead. There are probably more functions with similar behavior.
Ref.: https://www.lua.org/manual/5.1/manual.html#pdf-loadfile
We should probably wrap the function in a wrapper that disallows the stdin reading and return an error instead. There are probably more functions with similar behavior.