bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tee logs no output if stdout is closed


From: Phillip Susi
Subject: Re: tee logs no output if stdout is closed
Date: Tue, 1 Jul 2008 16:38:12 -0400
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Andreas Schwab wrote:
It seems to me that tee should have a SIGPIPE handler which closes the
broken fd and stops trying to write to it, and if ALL outputs have been
closed, exit.

That would not be compatible with POSIX.

In what way?

Also, won't ignoring SIGPIPE cause problems later when tee tries to write() to the broken fd and gets back an error?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]