Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
FeepingCreature
on May 28, 2023
|
parent
|
context
|
favorite
| on:
No_color
Sure, but that has a simple solution not even mentioned in this post: isatty(1)
account42
on May 31, 2023
[–]
Just remember that stdout and stderr can be both a tty, neither a tty or one is a tty while the other is not.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: