removed stderr

This commit is contained in:
dj2ls 2022-10-05 11:00:05 +02:00
parent a4f133e434
commit a7c3764fbe

View file

@ -871,7 +871,7 @@ const isRunning = (query, cb) => {
case 'linux' : cmd = `ps -A`; break;
default: break;
}
exec(cmd, (err, stdout, stderr) => {
exec(cmd, (err, stdout) => {
cb(stdout.toLowerCase().indexOf(query.toLowerCase()) > -1);
});
}