* Forcefully kills a process by its native PID. * * @param {number} pid - Native process ID to kill. * @returns {Promise } Resolves when the process is terminated.
(pid)
| 208 | * @returns {Promise<string>} Resolves when the process is terminated. |
| 209 | */ |
| 210 | killProcess(pid) { |
| 211 | return new Promise((resolve, reject) => { |
| 212 | exec(resolve, reject, this.ExecutorType, "killProcess", [pid]); |
| 213 | }); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Stops the executor service completely. |
no test coverage detected