getcwd

getcwd() → stringa

Ritorna il nome della dir corrente.

Esempio 1. Esempio getcwd

-- getcwd: current working directory
local cwd = getcwd()
print("getcwd() = " .. cwd)
assert(cwd ~= '')