lovr.filesystem.getWorkingDirectory

Returns the absolute path of the working directory. Usually this is where the executable was started from.

path = lovr.filesystem.getWorkingDirectory()

Arguments

None

Returns

NameTypeDescription
pathstringThe current working directory, or nil if it's unknown.

See also