processes() fix command line parsing (win) wip
This commit is contained in:
parent
1512eabec1
commit
f6acf2e30e
@ -949,7 +949,6 @@ function processes(callback) {
|
||||
processArray = JSON.parse(stdout);
|
||||
} catch {}
|
||||
processArray.forEach((element) => {
|
||||
if (element.trim() !== '') {
|
||||
const pid = element.ProcessId;
|
||||
const parentPid = element.ParentProcessId;
|
||||
const statusValue = element.ExecutionState || null;
|
||||
@ -1001,7 +1000,6 @@ function processes(callback) {
|
||||
path: commandPath,
|
||||
params: ''
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
result.sleeping = result.all - result.running - result.blocked - result.unknown;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user