UNPKG

tape

Version:

tap-producing test harness for node and browsers

8 lines (6 loc) 248 B
var spawn = require('child_process').spawn; var ps = spawn(process.execPath, [ __dirname + '/max_listeners/source.js' ]); ps.stdout.pipe(process.stdout, { end : false }); ps.stderr.on('data', function (buf) { console.log('not ok ' + buf); });