hugoWebsite/node_modules/tree-kill/cli.js

15 lines
244 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
#!/usr/bin/env node
kill = require('.')
try {
kill(process.argv[2], process.argv[3], function(err){
if (err) {
console.log(err.message)
process.exit(1)
}
})
}
catch (err) {
console.log(err.message)
process.exit(1)
}