(cmd, strict, cb)
| 26 | const spawn = require('child_process').spawn; |
| 27 | |
| 28 | function run(cmd, strict, cb) { |
| 29 | const args = []; |
| 30 | if (strict) args.push('--use_strict'); |
| 31 | args.push('-pe', cmd); |
| 32 | const child = spawn(process.execPath, args); |
| 33 | child.stdout.pipe(process.stdout); |
| 34 | child.stderr.pipe(process.stdout); |
| 35 | child.on('close', cb); |
| 36 | } |
| 37 | |
| 38 | const queue = |
| 39 | [ 'with(this){__filename}', |
no test coverage detected