Answer the question
In order to leave comments, you need to log in
How to execute such a command?
let spawn = require('child_process').spawn;
let ls = spawn('wget url');
ls.stdout.on('data', data => {
console.log(data);
});
ls.on('error', err => console.log(err));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question