[X] You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
When I installed pwsh-ls via M-x lsp-install-server on Windows, I got the error. It seems the path including spaces is not able to be handled correctly. I paste the details below.
Steps to reproduce
M-x lsp-install-server and select pwsh-ls on Windows, and the file path has spaces.
Expected behavior
Install pwsh-ls without any error
Which Language Server did you use?
pwsh-ls
OS
Windows
Error callstack
"c:/Program Files/PowerShell/7/pwsh.exe" "-noprofile" "-noninteractive" "-nologo" "-ex" "bypass" "-command" "Invoke-WebRequest" "-UseBasicParsing" "-uri" "https://github.com/PowerShell/PowerShellEditorServices/releases/latest/download/PowerShellEditorServices.zip" "-outfile" "c:/Users/VINCEN~1/AppData/Local/Temp/extpfbOae.zip" ";" "Expand-Archive" "-Path" "c:/Users/VINCEN~1/AppData/Local/Temp/extpfbOae.zip" "-DestinationPath" "c:/Users/Vincent Zhang/AppData/Roaming/.emacs.d/.cache/lsp/pwsh"
Expand-Archive: A positional parameter cannot be found that accepts argument 'Zhang/AppData/Roaming/.emacs.d/.cache/lsp/pwsh'.
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
When I installed
pwsh-ls
viaM-x lsp-install-server
on Windows, I got the error. It seems the path including spaces is not able to be handled correctly. I paste the details below.Steps to reproduce
M-x lsp-install-server
and selectpwsh-ls
on Windows, and the file path has spaces.Expected behavior
Install
pwsh-ls
without any errorWhich Language Server did you use?
pwsh-ls
OS
Windows
Error callstack
Anything else?
This command works well.