Launches a new process with the given command, with command line arguments in
args
. Should work with any platform - even Windows.
Install with npm
$ npm i spawn-commands --save
Install dev dependencies:
$ npm i -d && npm test
var cmd = require('spawn-commands');
Install npm modules:
async
commands({cmd: 'npm', args: ['i', 'isobject', '--save']}, function(err) {
// runs the command:
//=> 'npm i isobject --save'
});
sync
cmd.sync({cmd: 'npm', args: ['i', 'isobject', '--save']});
// runs the command:
//=> 'npm i isobject --save'
- lint-deps: CLI tool that tells you when dependencies are missing from package.json and offers you a… more
- minimist-events: Add events to minimist, ~30 sloc.
- minimist-plugins: Simple wrapper to make minimist pluggable. ~20 sloc.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on August 19, 2015.