child-process-args

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i child-process-args

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ti