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

貢獻者指南