``` exec(config.command, function(err, stdout, stderr) { if (config.exit) process.exit(0); }); ``` console.log for stdout and console.error for err and stderr would be helpful.