Skip to content

After updating to version 1.101, the subprocess under the extension cannot obtain the correct shell environment. #252715

Open
@EXHades

Description

@EXHades

Does this issue occur when all extensions are disabled?: unfit

  • VS Code Version: 1.101.2
  • OS Version: macOS 14.7.6

Steps to Reproduce:

  1. install neovim (brew install neovim) and vscode-neovim extension
  2. add config to vscode setting.json
{
  "extensions.experimental.affinity": {
    "asvetliakov.vscode-neovim": 1,
  },
  "vscode-neovim.neovimClean": true,
  "vscode-neovim.afterInitConfig": [
    "lua << EOF",
    "require'vscode'.notify('test-1')",
    "require'vscode'.notify(os.getenv('PATH'))",
    "require'vscode'.notify(os.getenv('XDG_CONFIG_HOME'))",
    "require'vscode'.notify('test-2')",
    "EOF"
  ]
}
  1. restart vscode

Image


In version 1.100.3, it is normal:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions