The get_apps_dir() function gets the current root applications directory path name.
path = get_apps_dir()
|
String |
Current root applications directory path name. |
import osfrom splunk.appserver.mrsparkle.lib import util apps_list = os.listdir(util.get_apps_dir())