Skip to content

Replace ps-tree task killing with a modern Windows 2025/Windows 11 25H2 compatible approach #1090

@chadlwilson

Description

@chadlwilson

ps-tree seems to use wmic which is removed from Windows Server 2025, and possibly also gone from Windows 11 25H2 (not yet tested).

https://github.com/indexzero/ps-tree/blob/635e1c3808f3df51308efbe080c1e5112c38a44c/index.js#L51

This is used to list and kill processes on Windows, but fails on Windows 2025 (not sure if fatally, but tests fail). Needs some investigation and an alternate approach implemented as ps-tree seems abandoned: indexzero/ps-tree#69 / indexzero/ps-tree#62

Afterwards, 37f8668 can be reverted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions