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

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