Closed
Description
I'm wondering if this is intentional or a bug:
parent.js
var exec = require("child_process").exec;
exec("iojs child.js", function (err, stdout, stderr) {
process.stdout.write(stdout);
});
child.js
console.log(process.stdin.isTTY);
console.log(process.stdin.isRaw);
console.log(process.stdin.setRawMode);
console.log(process.stdout.columns);
output:
undefined
undefined
undefined
undefined
ref: sindresorhus/grunt-shell#95 raineorshine/npm-check-updates#119