testea3 e0d4df7f58 ola mundo 11 maanden geleden
..
examples e0d4df7f58 ola mundo 11 maanden geleden
lib e0d4df7f58 ola mundo 11 maanden geleden
test e0d4df7f58 ola mundo 11 maanden geleden
.npmignore e0d4df7f58 ola mundo 11 maanden geleden
.travis.yml e0d4df7f58 ola mundo 11 maanden geleden
LICENSE e0d4df7f58 ola mundo 11 maanden geleden
README.md e0d4df7f58 ola mundo 11 maanden geleden
package.json e0d4df7f58 ola mundo 11 maanden geleden

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);
});