Skip to content

execArgv option to force TTY #31409

Closed as not planned
Closed as not planned
@novemberborn

Description

@novemberborn

Is your feature request related to a problem? Please describe.

Developer tools may run user code in a child process. When invoked in in a terminal, process.stdout and process.stderr will be TTY streams. This will not be the case in the child process.

Describe the solution you'd like

It'd be great if the developer tool could force TTY to be available in the child process.

Describe alternatives you've considered

I've tried faking TTY support in the child processes. This is somewhat doable but breaks when Node.js adds new features. With AVA we've now removed this behavior, hoping for somebody to provide the functionality in a separately loadable package.

It'd be much better if we could make Node.js provide its own implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ttyIssues and PRs related to the tty subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions