soyuka / pidusage

Cross-platform process cpu % and memory usage of a PID
MIT License
512 stars 55 forks source link

fix(wmic): add gwmi command to be compatible with deleted wmic #143

Open aliuq opened 2 years ago

aliuq commented 2 years ago
Q A
Branch? main
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #124
License MIT
Doc PR no
simonepri commented 2 years ago

Hi @aliuq, thanks for the PR and sorry for the late reply I can help reviewing this but I think we should wait for @soyuka to submit (although I also have the permissions to do so in case we don't get any answer).

On a side note, would you mind porting this also to the very closely related simonepri/pidtree (https://github.com/simonepri/pidtree/blob/main/lib/wmic.js)? Thanks!!