in reply to Re: Testing whether a file handle is attached to STDOUT
in thread Testing whether a file handle is attached to STDOUT
Actually, the -t test will be wrong in most cases, since for my application usually is not connected to a terminal.
Your arguments are basically correct - thank you for pointing it out. Fortunately, in my case I have control over whether or not stdout will be dup'ed, so this is no problem.
|
|---|