* Lists all running OS processes under the app's user ID. * * @returns {Promise >}
()
| 196 | * @returns {Promise<Array<{pid: number, ppid: number, name: string, command: string, state: string, memory: number, isSelf: boolean}>>} |
| 197 | */ |
| 198 | listAllProcesses() { |
| 199 | return new Promise((resolve, reject) => { |
| 200 | exec(resolve, reject, this.ExecutorType, "listAllProcesses", []); |
| 201 | }); |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Forcefully kills a process by its native PID. |
no test coverage detected