0.1.4 • Published 12 years ago
spawn-local-bin v0.1.4
spawn-local-bin 
Yet another spawn wrapper (that works on Windows).
Install
$ npm install spawn-local-binUsage
spawn()
A child_process.spawn wrapper that inherits stdio.
var spawn = require('spawn-local-bin');
var cmd = 'ls';
var args = ['~/', '-la'];
var cwd = process.cwd();
spawn(cmd, args, cwd);spawn.path()
Adds all local bin's (located under node_modules/.bin) to the process.env PATH.
var spawn = require('spawn-local-bin');
var dir = __dirname;
spawn.path(dir);Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
History
For detailed changelog, check Releases.
License
MIT License © Zeno Rocha