scripts/pbcopy.js
// replicate pbcopy command in node shell.
replicate pbcopy command in node shell.
replicate pbcopy command in node shell .
function pbcopy(data) {
    var proc = require('child_process').spawn('pbcopy');
    proc.stdin.write(data);
    proc.stdin.end();
}
function pbcopy ( data ) { var proc = require ( 'child_process' ) . spawn ( 'pbcopy' ) ; proc . stdin . write ( data ) ; proc . stdin . end ( ) ; }
replicate pbcopy command in node shell.
replicate pbcopy command in node shell .