GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — bug: vim.fn.system fails to execute commands in nushell · Issue #471 · nvim-java/nvim-java Open Labels bugSomething isn't workingSomething isn't working DescriptionDid you check docs and existing issues?
Neovim version (nvim -v)0.11.5 Operating system/versionWindows/25H2 Describe the bugWhen using Nushell as the system shell, the downloader and extractor modules in nvim-java fail to work. The issue stems from using Steps To Reproduce
Expected BehaviorThe plugin should work correctly in nushell. Using Neovim 0.10+'s vim.system() API with argument arrays would avoid shell parsing issues. example local pwsh_cmd = string.format( 'iwr -TimeoutSec %d -UseBasicParsing -Method "GET" -Uri %q -OutFile %q;', self.timeout, self.url, self.dest ) local cmd = string.format( -- luacheck: ignore "%s -NoProfile -NonInteractive -Command \"$ProgressPreference = 'SilentlyContinue'; $ErrorActionPreference = 'Stop'; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; %s\"", pwsh, pwsh_cmd ) log.debug('PowerShell command:', cmd) local result = vim.fn.system(cmd) local result = vim.system({ "pwsh", "-NoProfile", "-NonInteractive", "-Command", "$ProgressPreference = 'SilentlyContinue';", "$ErrorActionPreference = 'Stop';", "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;", "iwr", "-TimeoutSec", tostring(self.timeout), "-UseBasicParsing", "-Method GET", "-Uri", self.url, "-OutFile", self.dest, }):wait() ActivityMetadataMetadataAssigneesLabelsbugSomething isn't workingSomething isn't working TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |