D8D da8e66ac9e Initial commit il y a 1 an
..
examples da8e66ac9e Initial commit il y a 1 an
lib da8e66ac9e Initial commit il y a 1 an
test da8e66ac9e Initial commit il y a 1 an
.npmignore da8e66ac9e Initial commit il y a 1 an
.travis.yml da8e66ac9e Initial commit il y a 1 an
LICENSE da8e66ac9e Initial commit il y a 1 an
README.md da8e66ac9e Initial commit il y a 1 an
package.json da8e66ac9e Initial commit il y a 1 an

README.md

spawn-command Build Status

Spawn commands like child_process.exec does but return a ChildProcess.

Installation

npm install spawn-command

Usage

var spawnCommand = require('spawn-command'),
    child = spawnCommand('echo "Hello spawn" | base64');

child.stdout.on('data', function (data) {
  console.log('data', data);
});

child.on('exit', function (exitCode) {
  console.log('exit', exitCode);
});