V
V
veselkovna2020-07-22 14:43:46
Node.js
veselkovna, 2020-07-22 14:43:46

Is it possible to get data from console using Node.js?

Good afternoon, I can’t find an article or any guide on how to get data from cmd to a js variable or txt file. Is it possible to do this and how? I am using Node.js, jQuery and electron. I need to get the following data: a list of windows processes (tasklist in cmd), ping to the main gateway of the router. it is not necessary to receive this data from the console, the main thing is that they can be recorded and transmitted by http message.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2020-07-22
@Fragster

https://nodejs.org/api/child_process.html#child_pr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question