npm-execspawn
Spawn locally installed npm dependencies with cross platform env and argument parsing support.
npm install npm-execspawn
Usage
First do
npm install browserify
Then
var execspawn =var child =childstderrchildstdout
The above should browserify test.js and both windows and unix.
The options is passed directly to child_process.spawn
.
You can also pass in a arguments array
stdout
The above will print echo a b and c
on all platforms.
License
MIT