pkill
pkill(1)
.
Convenience wrapper around
Usage
Sync
- Will throw if there's a problem.
- Does not throw for no matching processes.
// kills all processes named 'node'
pkill.full
Match on full exec pattern: // kills all processes matching 'node debug'pkill
Async
- Does not err for no matching processes.
Compatibility
- Not work on windows.
License
MIT