Skip to content

CmdPal: Applications are launched with an outdated PATH #42306

@lpaulino07

Description

@lpaulino07

Microsoft PowerToys version

0.94.2

Installation method

WinGet

Area(s) with issue?

Command Palette

Steps to reproduce

  • Launch PowerToys.
  • Add binary to PATH (i.e. install something like Swift that updates PATH for new binaries).
  • Launch VS Code
  1. Through CmdPal:
    swift Will not be recognized.
  2. Through Powershell or Start Menu:
    swift Will be recognized.

✔️ Expected Behavior

A new CmdPal-launched process should have access to an updated PATH.

❌ Actual Behavior

Processes are launched with outdated PATH unless PowerToys is restarted.

Additional Information

No response

Other Software

VS Code 1.106.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    CmdPal - All AppsIssues related to the AllApps built-in extensionIssue-BugSomething isn't workingProduct-Command PaletteRefers to the Command Palette utility

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions