for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
'use strict'
const output = require('./output')
const childProcess = require('child_process')
function runProcess (script) {
var process = childProcess.exec(script)
output.logComponent('Script', 'blue', 'Executing "' + script + '"')
process.on('exit', function (code) {
output.logComponent('Script', 'blue', 'Exited with code ' + code)
})
process.stderr.on('data', function (message) {
output.logComponent('Script', 'blue', message)
process.stdout.on('data', function (message) {
}
module.exports = {
run: runProcess