Executable

(class from pyomo.common.fileutils)

class pyomo.common.fileutils.Executable(path)[source]

Bases: object

Singleton executable registry

This class cannot be instantiated. Instead, calling this type will perform lookups in the underlying singleton PathManager object and return instances of ExecutableData.

__init__()

Methods

__init__()

rehash()

Requery the location of all registered executable paths

Member Documentation

classmethod rehash()[source]

Requery the location of all registered executable paths

This method derives its name from the csh command of the same name, which rebuilds the hash table of executables reachable through the PATH.