You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
When attempting to start the devcontainer using the :RemoteStart command, an error occurs at the point where the provider tries to execute the devpod command using the executor and then decode the resulting stdout as JSON.
I noticed that unexpected characters were mixed into stdout. As an experiment, I modified the implementation of executor.lua and disabled the pty option on Neovim's job API (vim.fn.jobstart()). By doing so, this error with stdout disappeared.
To reproduce
Minimal steps for reproduce:
vim.fn.jobstart without pty option
Run neovim without any config using nvim -u NONE.
Run :lua vim.fn.jobstart('devpod version', { pty = false, on_stdout = function(_, data, _) vim.api.nvim_echo({data}, true, {}) end })
Run :mes to show echo history
vim.fn.jobstart with pty option
Run neovim without any config using nvim -u NONE.
Run :lua vim.fn.jobstart('devpod version', { pty = true, on_stdout = function(_, data, _) vim.api.nvim_echo({data}, true, {}) end })
Run :mes to show echo history
Expected behavior
:RemoteStart will not fail to parse stdout
Screenshot/Screencast(s)
Please see above description and reproduce steps.
System information
Your local OS: macOS 13.6.9
CPU model: Apple M2 (Apple Silicon)
Local Neovim version: v0.10.2
Remote host OS (if applicable): none
Remote Neovim version (if applicable): none
devpod cli version: v0.6.1
Additional context
I'm using macOS's default terminal app and default shell (zsh).
Describe the bug
When attempting to start the devcontainer using the
:RemoteStartcommand, an error occurs at the point where the provider tries to execute the devpod command using the executor and then decode the resulting stdout as JSON.I noticed that unexpected characters were mixed into stdout. As an experiment, I modified the implementation of
executor.luaand disabled theptyoption on Neovim's job API (vim.fn.jobstart()). By doing so, this error with stdout disappeared.To reproduce
Minimal steps for reproduce:
vim.fn.jobstartwithoutptyoptionnvim -u NONE.:lua vim.fn.jobstart('devpod version', { pty = false, on_stdout = function(_, data, _) vim.api.nvim_echo({data}, true, {}) end }):mesto show echo historyvim.fn.jobstartwithptyoptionnvim -u NONE.:lua vim.fn.jobstart('devpod version', { pty = true, on_stdout = function(_, data, _) vim.api.nvim_echo({data}, true, {}) end }):mesto show echo historyExpected behavior
:RemoteStartwill not fail to parse stdoutScreenshot/Screencast(s)
Please see above description and reproduce steps.
System information
Additional context
I'm using macOS's default terminal app and default shell (zsh).