0.0.2 • Published 9 years ago

child-process-args v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Usage:

var spawn = require('child_process').spawn;
var childProcessArgs = require('child-process-args');
childProcessArgs([
  'rsync',
  '-aHC',
  'root@machine2:/remotePath',
  './Local Path',
  '--exclude',
  '/Exclude me/'
  ]).then(function(rsyncCommand){
    var child = spawn('ssh', ['root@machine1', rsyncCommand], { stdio: 'inherit' });
  });

Build Status