JSPM

spawn-commands

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1802
  • Score
    100M100P100Q124025F
  • License

Launches a new process with the given command, with command line arguments in `args`. Should work with any platform - even Windows.

Package Exports

  • spawn-commands

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (spawn-commands) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

spawn-commands NPM version

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

Run tests

npm test

Usage

var cmd = require('spawn-commands');

Say you want to run lint-deps programmatically, and you want to exclude the test directory from the scan. Just do:

cmd({cmd: 'deps', args: ['-e', 'test']});
//=> 'deps -e test'

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 09, 2014. To update, run npm i -g verb && verb.