mirror of https://github.com/nodejs/node.git
6 lines
169 B
JavaScript
6 lines
169 B
JavaScript
|
require('child_process').spawn('dir-bin', [], {
|
||
|
env: process.env }).on('exit', function (code) {
|
||
|
if (code) throw new Error('exited badly with code = ' + code)
|
||
|
})
|
||
|
|