Check output device is a terminal: Difference between revisions

m
→‎{{header|Phix}}: (code unchanged but added input pipe test)
(→‎{{header|Go}}: A solution without the use of external libraries. I'm 95% sure this isn't any worse than the previous version (both would have corner cases))
m (→‎{{header|Phix}}: (code unchanged but added input pipe test))
Line 433:
C:\Program Files (x86)\Phix>p test 2> test.txt
stdin:true, stdout:true, stderr:false
 
C:\Program Files (x86)\Phix>type test.txt | p e01.exw
stdin:false, stdout:true, stderr:true
</pre>
 
7,794

edits