How to globally turn off TTY

Some tools like Pipenv and the Serverless CLI tend to get very noisy when they detect TTY. Here are some previous conversations that I’ve found:

  1. Disable interactive mode (TTY) - ‘pip’ and progress bars problem
  2. CI/CD logs are polluted by CLI progress in Serverless v3

Is there a way to indicate that a particular executor shouldn’t have TTY so that CLI tools such as the above will know to behave accordingly?