I'm wondering if this is intentional or a bug:
parent.js
varexec=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#95raineorshine/npm-check-updates#119
I'm wondering if this is intentional or a bug:
parent.js
child.js
output:
ref: sindresorhus/grunt-shell#95raineorshine/npm-check-updates#119