V
V
Vyacheslav Grachunov2020-12-07 00:38:06
Node.js
Vyacheslav Grachunov, 2020-12-07 00:38:06

How to get a list of all child processes in NodeJS?

How to get a list of all child processes in NodeJS? Not the ones that are launched via spawn() and fork().
And here is a script that launches chrome through puppeteer. Here you need to get a list of all browser processes launched by this particular script.
There is a convenient psutil lib in python, I don’t see anything like this here

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Grachunov, 2020-12-07
@Qwentor

Found: https://github.com/indexzero/ps-tree

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question