0.1.4 • Published 10 years ago

spawn-local-bin v0.1.4

Weekly downloads
7
License
MIT
Repository
github
Last release
10 years ago

spawn-local-bin NPM version

Yet another spawn wrapper (that works on Windows).

Install

$ npm install spawn-local-bin

Usage

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

For detailed changelog, check Releases.

License

MIT License © Zeno Rocha

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago