sindresorhus/fkill

Is there any change to optimize the processing time?

Open

#25 创建于 2018年8月6日

在 GitHub 查看
 (12 评论) (0 反应) (0 负责人)JavaScript (794 star) (76 fork)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

描述

I need to kill the process tree in 5 seconds. However, I found that the code will run almost 10+ seconds before returned. Any suggestions? Thanks.

const fkill = require('fkill');
...
await fkill(pid, {"force": true, "tree": true}); // It takes longer than expected

Backers (Total: $8.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

贡献者指南