sindresorhus/fkill

Kill tree (all sub-processes)

Open

#21 建立於 2017年9月17日

在 GitHub 查看
 (7 留言) (7 反應) (0 負責人)JavaScript (794 star) (76 fork)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

描述

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.

There is a $40.00 open bounty on this issue. Add more on Issuehunt.

貢獻者指南