Skip to content

Instantly share code, notes, and snippets.

View mikaelbalin's full-sized avatar
🇺🇦
Stand With Ukraine

Mikael Balin mikaelbalin

🇺🇦
Stand With Ukraine
View GitHub Profile
@mikaelbalin
mikaelbalin / example.js
Last active December 8, 2019 20:47 — forked from millermedeiros/example.js
execute multiple shell commands in series on node.js
// USAGE ------
// ============
var shell = require('./shellHelper');
// execute a single shell command
shell.exec('npm test --coverage', function(err){
console.log('executed test');
}});