Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "executive", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Elegant command execution.", | ||
@@ -5,0 +5,0 @@ "main": "lib/", |
# executive [![Build Status](https://travis-ci.org/zeekay/executive.svg?branch=master)](https://travis-ci.org/zeekay/executive) [![npm version](https://badge.fury.io/js/executive.svg)](https://badge.fury.io/js/executive) | ||
An elegant `child_process.spawn`/`child_process.spawnSync`. Automatically pipes | ||
`stderr` and `stdout` for you in a non-blocking fashion, making it very useful | ||
with build tools and task runners. Great async support, Node.js and Promises | ||
both supported. Easy serial and parallel command execution. | ||
An elegant `child_process.spawn`. Automatically pipes `stderr` and `stdout` for | ||
you in a non-blocking fashion, making it very useful with build tools and task | ||
runners. Great async support with easy serial and parallel command execution. | ||
@@ -89,3 +88,3 @@ ## Features | ||
exec.interactive('vim', function(err) { | ||
// Edit your commit message or whatnot | ||
// Edit your commit message and whatnot | ||
}); | ||
@@ -100,3 +99,3 @@ ``` | ||
exec.quiet(['ls', 'ls'], function(err, stdout, stderr) { | ||
// Not a peep is heard, and both ls commands will be executed. | ||
// You can still inspect stdout, stderr of course. | ||
}); | ||
@@ -119,6 +118,8 @@ ``` | ||
## Extra credit | ||
Great with `cake`, `grunt`, `gulp` and other task runners. | ||
Great with `cake`, `grunt`, `gulp` and other task runners. Even better mixed | ||
with generator-based control flow libraries or `async`/`await`. | ||
[Shortcake](http://github.com/zeekay/shortcake) (a superset of Cake) lets you | ||
take advantage of the Promise API to write synchronous looking async tasks: | ||
Complex example using [`shortcake`](http://github.com/zeekay/shortcake) (which | ||
provides a superset of [cake](http://coffeescript.org)'s features, including | ||
generator/promise task support): | ||
@@ -125,0 +126,0 @@ ```coffeescript |
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
14834
144