Use IsTerminal in place of atty
#103117
Merged
IsTerminal in place of atty
#103117
IsTerminal in place of atty
#103117