-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.
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
karrtikr
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.