MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / listAllProcesses

Method listAllProcesses

src/plugins/terminal/www/Executor.js:198–202  ·  view source on GitHub ↗

* Lists all running OS processes under the app's user ID. * * @returns {Promise >}

()

Source from the content-addressed store, hash-verified

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.

Callers 1

Calls 1

execFunction · 0.50

Tested by

no test coverage detected