exec-cmds
Executes a list of commands.
Last updated 10 years ago by zkochan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install exec-cmds 
SYNC missed versions from official npm registry.

exec-cmds

Executes a list of commands.

Dependency Status Build Status npm version

Installation

npm install --save exec-cmds

Usage example

const execCmds = require('exec-cmds');

let cwd =  path.resolve(process.cwd());
let cmds = [
  'mkdir foo',
  'rm -rf foo'
];
execCmds(cmds, {
  cwd,
  env: {
    FOO_BAR: 'Hello world!'
  }
});

License

MIT

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

4 Versions

  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |