Categories
How to get list of windows processes using node.js?
I want to get a list of running programs in windows. How to do it?
Answer the question
In order to leave comments, you need to log in
from the console.)
const { exec } = require('child_process') exec(`tasklist /FO CSV`, (err, stdout, stderr) => { if (err || stderr) return console.error(err || stderr); return console.log(stdout); // csv-parser... })
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question