mirror of https://github.com/nodejs/node.git
7 lines
239 B
JavaScript
7 lines
239 B
JavaScript
|
var c = require('child_process').spawn('array-bin', [], {
|
||
|
env: process.env }).on('close', function (code) {
|
||
|
if (code) throw new Error('exited badly with code = ' + code)
|
||
|
})
|
||
|
c.stdout.pipe(process.stdout)
|
||
|
c.stderr.pipe(process.stderr)
|