sindresorhus/fkill

Kill tree (all sub-processes)

Aberta

#21 aberto em 17 de set. de 2017

 (7 comentários) (7 reações) (0 responsável)JavaScript (76 forks)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

Métricas do repositório

Stars
 (794 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador