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 <> wrote:
Assuming that you are using Lua 5.3, take a look at (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.