Skip to content

Instantly share code, notes, and snippets.

@jckfa
jckfa / example.js
Last active July 24, 2016 21:48 — forked from millermedeiros/example.js
execute multiple shell commands in series on node.js
var shell = require('./shellHelper');
// execute a single shell command
shell.exec('touch file1', function(err) {
console.log('created "file1"');
});
// execute multiple commands in series
shell.series([