-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.
Description
- Version: 12.4.0
- Platform: Darwin C02WJ0U4HTDG 17.7.0 Darwin Kernel Version 17.7.0: Wed Apr 24 21:17:24 PDT 2019; root:xnu-4570.71.45~1/RELEASE_X86_64 x86_64
- Subsystem: tty
I found out recently that in a worker which is run with worker_threads, tty.isatty(1) returns True whereas process.stdout.isTTY returns False.
This led to a weird issue in mocha - a popular library for testing: mochajs/mocha#3955
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ttyIssues and PRs related to the tty subsystem.Issues and PRs related to the tty subsystem.workerIssues and PRs related to Worker support.Issues and PRs related to Worker support.