pidtree icon indicating copy to clipboard operation
pidtree copied to clipboard

Ever considered using windows-process-tree?

Open atrauzzi opened this issue 6 years ago • 5 comments

Just happened upon this and I figured it might be neat if this package wrapped/abstracted it. This is made by Microsoft, so it's a pretty decent option for a solid reference implementation...

https://github.com/Microsoft/vscode-windows-process-tree

Anyway, love this lib, thank you so much!

cc. https://github.com/indexzero/ps-tree/issues/31#issuecomment-411707035

atrauzzi avatar Aug 09 '18 12:08 atrauzzi

It would be awesome that we can use a module from Microsoft to do this.

Would you like to send a PR so that we can start to discuss based on the code?

huan avatar Aug 09 '18 12:08 huan

I'm not intimately familiar with this library or the Microsoft one, I'm not sure when I'll have time to make an attempt (I'd really love to).

At the very least, let's let this issue serve as a bookmark for the future. Whether I get to it first or you guys do...

atrauzzi avatar Aug 09 '18 12:08 atrauzzi

Ok, would love to hear back from you in the future!

huan avatar Aug 09 '18 13:08 huan

@atrauzzi we will definitely give it a try, the speed improvement should be really significative!

simonepri avatar Aug 09 '18 13:08 simonepri

this would definitely be a nice improvement! It'd even be better if they could add some metrics to that call so that we stop using wmic (it's sooo slow).

soyuka avatar Aug 09 '18 13:08 soyuka