1
Vote

SMlets module appends to Path every time it's loaded

description

When the SMLets.psm1 module is loaded it adds the module and script paths to the Path environment variable without checking whether the paths are already added. If the module is imported multiple times (ie from a workflow engine running activities) the Path variable string eventually gets too long and the module fails to load.

comments