Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

spawn-commands

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spawn-commands

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

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
1.1K
-4.14%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

arg

FAQs

Package last updated on 10 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts