Pathman fails during Windows install operations #3

Open
opened 2020-07-04 22:34:05 +00:00 by Ghost · 0 comments

Windows version (output of cmd /c ver): Microsoft Windows [Version 10.0.18363.900]

When I run an install operation in PowerShell:

webi node

or

curl.exe -sA "MS" https://webinstall.dev/node | powershell

pathman prints out

PATH not changed.

and does not correctly adjust the path even though it should.

One of the lines that causes this is

& "$Env:USERPROFILE\.local\bin\pathman.exe" add .local\bin

Strangely this works fine in vanilla PowerShell but not in PowerShell ISE. You can consistently repro the problem by running powershell_ise.exe, pasting that line into the command window at the bottom, and running it.

Windows version (output of `cmd /c ver`): Microsoft Windows [Version 10.0.18363.900] When I run an install operation in PowerShell: webi node or curl.exe -sA "MS" https://webinstall.dev/node | powershell pathman prints out PATH not changed. and does not correctly adjust the path even though it should. One of the lines that causes this is & "$Env:USERPROFILE\.local\bin\pathman.exe" add .local\bin Strangely this works fine in vanilla PowerShell but not in PowerShell ISE. You can consistently repro the problem by running `powershell_ise.exe`, pasting that line into the command window at the bottom, and running it.
Ghost changed title from Pathman fails during install operations to Pathman fails during Windows install operations 2020-07-04 22:34:14 +00:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/pathman#3
No description provided.