CoAgent8
    Preparing search index...

    Class DefaultWindowsPathAdapter

    Implements

    Index
    • Tells open windows that the environment changed. Advisory and bounded by timeoutMs, including process start; never rejects.

      Parameters

      • timeoutMs: number = 1000

      Returns Promise<boolean>

      Whether the change was delivered.

    • HKCU\Environment belongs to the signed-in account. On Windows os.userInfo().homedir comes from the process token, not from HOME or USERPROFILE, so a redirected home (a test fixture or a tool run with another home) never edits the account's real PATH.

      Parameters

      • home: string

      Returns boolean