Class EnvironmentVariableMacroExpander

  • All Implemented Interfaces:
    MacroExpander<EnvMacro,​Object>

    public class EnvironmentVariableMacroExpander
    extends AbstractMacroExpanderWithoutPrecomputedWork<EnvMacro>
    Expands $(env XYZ) to use the appropriate shell expansion for the current platform. It does not expand the value of the environment variable in place. Rather, the intention is for the variable to be interpreted when a shell command is invoked.