source:
trip-planner-front/node_modules/tree-kill/cli.js@
e29cc2e
Last change on this file since e29cc2e was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | #!/usr/bin/env node |
2 | kill = require('.') | |
3 | try { | |
4 | kill(process.argv[2], process.argv[3], function(err){ | |
5 | if (err) { | |
6 | console.log(err.message) | |
7 | process.exit(1) | |
8 | } | |
9 | }) | |
10 | } | |
11 | catch (err) { | |
12 | console.log(err.message) | |
13 | process.exit(1) | |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.