code: function spawn(command, args, cb) {
  
    var _spawn = child.spawn(command, args);
  
    _spawn.stdout.on('data', function (data) {
      process.stdout.write(data);
    });
  
    _spawn.stderr.on('data', function (data) {
      process.stderr.write(data);
    });
  
    _spawn.on('exit', function (code) {
      cb((code !== 0) ? new Error(code) : undefined, code);
    });
  }
docs: Execute a command with an array of arguments.
  E.g. command: make, arguments: -f somemakefile target1 target2 target3
  will be executed as: make -f somemakefile target1 target2 target3
  NOTE: process.stdout.write and process.stderr.write are used because console.log adds a newline
  
  @param {String} command: command to execute
  @param {Array} args: command arguments
  @param {Function} cb: standard cb(err, result) callback