Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

kill-process-group

Kikobeats5.2kMIT1.0.11

It kills a process group. No dependencies. Windows support.

children, group, kill, process, subprocess

readme

kill-process-group

Last version Coverage Status NPM Status

It kills a process group. No dependencies. Windows support.

Install

$ npm install kill-process-group --save

Usage

const killProcessGroup = require('kill-process-group')
const $ = require('tinyspawn')

const proc = $(`node ${scripts.parent}`, {
  detached: process.platform !== 'win32',
  stdio: 'inherit'
})

await killProcessGroup(proc)

License

kill-process-group © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.11 (2024-05-09)

1.0.10 (2024-05-09)

1.0.9 (2024-02-09)

1.0.8 (2024-01-21)

Bug Fixes

1.0.7 (2023-10-24)

1.0.6 (2023-09-07)

1.0.5 (2023-09-07)

1.0.4 (2023-07-03)

1.0.3 (2022-06-11)

1.0.2 (2022-06-09)

Bug Fixes

  • ensure API is homogeneous (aa82b40)

1.0.1 (2022-06-09)

1.0.0 (2022-06-08)