Skip to content

ps-tree on Windows 11 24H2 crashes - wmic not part of windows any more #58

Open
@BePo65

Description

@BePo65

On windows systems ps-tree uses WMIC to get the list of child processes (line 51 in index.js).

WMIC has been available as a Feature-on-Demand (FoD) for Windows 11 since 2022. My new system is Win11pro 24H2 and there is no more WMIC on this system, not even available as FoD.

As a consequence ps-tree crashes when trying to get the list of child processes. I was encountering this problem, when using the start-server-and-run package (see its issue #384).

The official statements recommend to use powershell instead of WMIC.

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