GetWorkingDir

Returns the working directory path.

Syntax
GetWorkingDir()
Type
Pulse Lua API command.
Description
Returns the path of the working directory where the process is running from.
Version History
2022.1

Example

--Load Pulse API
apidir = os.getenv(“ALTAIR_PULSE_API”)
mymodulepath = apidir..”/lua”
package.path = package.path..mymodulepath
package.path = package.path.."\\?.lua"
local pulse = require "pulse"

pulse.GetWorkingDir()