mirror of https://github.com/nodejs/node.git
10 lines
221 B
JavaScript
10 lines
221 B
JavaScript
|
var assert = require('assert');
|
||
|
|
||
|
console.log("NODE_CHANNEL_FD", process.env.NODE_CHANNEL_FD);
|
||
|
assert.ok(process.env.NODE_CHANNEL_FD);
|
||
|
|
||
|
var fd = parseInt(process.env.NODE_CHANNEL_FD);
|
||
|
assert.ok(fd >= 0);
|
||
|
|
||
|
process.exit(0);
|