lovr.filesystem.getWorkingDirectory

Edit

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
pathstring The current working directory, or nil if it's unknown.

See also