lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Feb 2, 2017 at 4:30 PM, Diogo Mildenberger <diogo.milde@gmail.com> wrote:
 
Assuming that you are using Lua 5.3, take a look at https://www.lua.org/manual/5.3/manual.html#6.8 (I/O Functions):

...
io.close ([file])
Equivalent to file:close(). Without a file, closes the default output file. 

Ah, thanks. So technically this works as documented. But then the standard output cannot be closed. Something is not right here.

Cheers,
V.