Ever considered using windows-process-tree?
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
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?
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...
Ok, would love to hear back from you in the future!
@atrauzzi we will definitely give it a try, the speed improvement should be really significative!
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).