We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have a use case where I need to run tree-kill with elevated user privileges to kill a parent and its child processes.
One way to get this use case to work with tree-kill is to call it from the command line like this:
sudo treeKill [pid]
Thanks!
The text was updated successfully, but these errors were encountered:
Hi Alice, That should be pretty easy. Assuming you have NodeJS installed on your path, this ought to work:
#! /usr/bin/env node kill = require('tree-kill') kill(process.argv[2])
I'll consider adding a CLI command to the tree-kill package so it's easier to install
Sorry, something went wrong.
I'm done considering, consider it done. Update to v1.1.0 and you'll have a CLI.
No branches or pull requests
Hi,
I have a use case where I need to run tree-kill with elevated user privileges to kill a parent and its child processes.
One way to get this use case to work with tree-kill is to call it from the command line like this:
sudo treeKill [pid]
Thanks!
The text was updated successfully, but these errors were encountered: