Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "exec-sh", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Execute shell command forwarding all stdio.", | ||
"main": "lib/exec-sh.js", | ||
"scripts": { | ||
"test": "npm run cover-test && jshint", | ||
"test": "npm run cover-test && npm run jshint", | ||
"cover-test": "istanbul cover --dir artifacts/coverage _mocha -- --reporter spec", | ||
"jshint": "jshint lib/ example/ test/", | ||
"jshint": "jshint lib/ example/ test/ package.json", | ||
"dev": "mocha --reporter spec --watch", | ||
@@ -11,0 +11,0 @@ "jsdoc": "jsdoc --private --destination artifacts/jsdoc lib/" |
@@ -70,3 +70,3 @@ # exec-sh | ||
### execSh(command, [options], [callback]) | ||
### `execSh(command, [options], [callback])` | ||
@@ -77,8 +77,8 @@ Execute shell command forwarding all stdio. | ||
- *command* {String | Array} - The command to run, or array of commands | ||
- *[options]* {Object | TRUE} - Options object passed directly to [`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options), when `TRUE` then `{ stdio: null }` used | ||
- *[callback]* {Function} - `callback(err, stdout, stderr)` | ||
- *err* {Error | NULL} - Error object. Has `code` property containing last command exit code when available | ||
- *stdout* {String | NULL} - aggregated stdout or `NULL` if not available | ||
- *stderr* {String | NULL} - aggregated stderr or `NULL` if not available | ||
- `command {String|Array}` - The command to run, or array of commands | ||
- `[options] {Object|TRUE}` - Options object passed directly to [`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options), when `TRUE` then `{ stdio: null }` used | ||
- `[callback] {Function}` - `callback(err, stdout, stderr)` | ||
- `err {Error|NULL}` - Error object. Has `code` property containing last command exit code when available | ||
- `stdout {String|NULL}` - aggregated stdout or `NULL` if not available | ||
- `stderr {String|NULL}` - aggregated stderr or `NULL` if not available | ||
@@ -99,5 +99,6 @@ **Return Values:** | ||
- `npm run jsdoc` - build jsdoc | ||
- `npm run dev` - run tests continuously | ||
## License | ||
The MIT License (MIT) | ||
The MIT License (MIT) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102
1
16757
7
91