sindresorhus/fkill

Kill tree (all sub-processes)

开放

#21 创建于 2017年9月17日

 (7 条评论) (7 个反应) (0 位负责人)JavaScript (76 个派生)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

仓库指标

星标
 (794 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Typical use case is starting a process with multiple sub-processes and then wanting to killing them all:

const child = require('child_process').exec("node -e 'while (true);'");
child.kill(); // will not work

It's been implemented for Windows in https://github.com/sindresorhus/fkill/pull/20, would be nice to have this functionality cross-platform.


Backers (Total: $40.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

贡献者指南