os.getcwd - premake/premake-4.x GitHub Wiki

Home > [Scripting Reference](Scripting Reference) > os.getcwd


os.getcwd

The os.getcwd function gets the current working directory.

#!lua
cwd = os.getcwd()

Parameters

None.

Return Value

The current working directory.