Innovenergy_trunk/frontend/node_modules/tree-kill/cli.js

15 lines
244 B
JavaScript
Raw Normal View History

#!/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)
}