Bug Fixes pwsh: do not trim output (f466f91), closes #2010 pwsh: trim trailing backslash from paths (c7b681a), closes #2009