Package Ganga :: Package Utility :: Module Runtime
[hide private]
[frames] | no frames]

Module Runtime

source code

Classes [hide private]
  RuntimePackage
Functions [hide private]
 
getScriptPath(name='', searchPath='')
Determine path to a script
source code
 
getSearchPath(configPar='SCRIPTS_PATH')
Determine search path from configuration parameter
source code
Variables [hide private]
  allRuntimes = oDict({})
  logger = Ganga.Utility.logging.getLogger(modulename= 1)
  __package__ = 'Ganga.Utility'
Function Details [hide private]

getScriptPath(name='', searchPath='')

source code 
Determine path to a script

Arguments:
   name       - Name of a script
   searchPath - String of colon-separated directory names,
                defining locations to be searched for script

If 'name' already gives the path to the script, then
'searchPath' is ignored.

Return value: String giving path to script (success)
              or empty string (script not found)

getSearchPath(configPar='SCRIPTS_PATH')

source code 
Determine search path from configuration parameter

Argument: 
   configPar : Name of configuration parameter defining search path

Return value: Search path