[Mono-list] Stdin is a tty?

Colin JN Breame colin@breame.com
Thu, 18 Nov 2004 20:33:51 +0000

Is there a way of determining whether stdin is on a tty (or windows 
command prompt)?

Case 1: program is started normally, is_tty is true
Case 2: program is started as part of a pipeline, is_tty is false


 -- Colin JN Breame