testea3 e0d4df7f58 ola mundo 1 vuosi sitten
..
examples e0d4df7f58 ola mundo 1 vuosi sitten
lib e0d4df7f58 ola mundo 1 vuosi sitten
test e0d4df7f58 ola mundo 1 vuosi sitten
.npmignore e0d4df7f58 ola mundo 1 vuosi sitten
.travis.yml e0d4df7f58 ola mundo 1 vuosi sitten
LICENSE e0d4df7f58 ola mundo 1 vuosi sitten
README.md e0d4df7f58 ola mundo 1 vuosi sitten
package.json e0d4df7f58 ola mundo 1 vuosi sitten

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