exec 'node app' hangs inside gulp task
问题 This gulp task hangs on exec('node config/app') line. first exec works fine but the second just hangs. gulp.task('test', function(cb) { var exec = require('child_process').exec; exec('echo 3', function(err, stdout) { console.log(stdout); }); exec('node config/app', function(err, stdout, stderr) { console.log(stdout); var testemOptions = { file: 'testem.json' }; var t = new testem(); return t.startCI(testemOptions, function() { cb(); }); }); }); I can see the output 3 but no output is shown