Created
October 20, 2017 21:14
-
-
Save carlohcs/b672217702bd7f1b333ab351e8870f19 to your computer and use it in GitHub Desktop.
Matar algum processo via node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| killall -9 node | |
| require('child_process').exec(`kill -9 ${pid}`) | |
| // Base: https://gist.github.com/dominhhai/aa7f3314ad27e2c50fd5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment