Skip to content

PATH not up to date when starting VSCode #12

@nWestie

Description

@nWestie

If this would be better reported up to the Command Palette repo, let me know.

When PATH is updated by an app (ex: I installed node), the PATH variable used by spawned apps is not updated until Command Palette is restarted.

Chain of events:

  • Install node using winget in built-in terminal in VSCode
    • node/npm cannot be run, command not found.
  • Close VSCode, restart workspace from Command Palette
    • still not finding extension
  • Confirm that node runs in a separate, fresh terminal
  • Exit Command Palette and restart it
    • node can be called from VSCode terminal as expected

Not sure if this is something that can be fixed on the extension level, or if it's an issue with Command Palette generally. I don't remember this happening with Powertoys Run, but can't say for sure (it's not something that comes up often)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions