1.0.1 • Published 8 years ago

exec-cmds v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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

1.0.1

8 years ago

1.0.0

8 years ago

0.2.0

9 years ago

0.1.0

9 years ago