15 lines
244 B
JavaScript
Executable File
15 lines
244 B
JavaScript
Executable File
#!/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)
|
|
}
|