Get the Iguana working directory

Verified
Added by iNTERFACEWARE

Use iguana.workingDir() to get the current Iguana working directory, where config files etc. are stored

Source Code
   -- get the we server information for Iguana
   local wd = iguana.workingDir()
Description
Use iguana.workingDir() to get the current Iguana working directory, where config files etc. are stored
Usage Details

Use iguana.workingDir() to get the current Iguana working directory. This can be very useful when writing code to access configuration files. Very helpful if the production environment uses a different working directory from dev or test. It also means the system administrator can change the config directory without breaking anything.

How to use the snippet:

  • Paste the code into your script