mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
removed stderr
This commit is contained in:
parent
a4f133e434
commit
a7c3764fbe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue