sindresorhus/fkill

Is there any change to optimize the processing time?

Open

#25 geöffnet am 6. Aug. 2018

Auf GitHub ansehen
 (12 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (794 Stars) (76 Forks)user submission
:dollar: Funded on Issuehuntenhancementhelp wanted

Beschreibung

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

Contributor Guide