Pseudo Terminal Will Not Be Allocated Because Stdin Is Not A Terminal

Check Date

Works on 2019-03-19 14:32:49+0800 System Version macOS 10.13.6

Question

How to fix “Pseudo-terminal will not be allocated because stdin is not a terminal”?

Answer

with option -T from manual: Disable pseudo-tty allocation

Reference

Published 19 Mar 2019

Bring the answer to lost vistor
MagicRabbit on Twitter