[Top][All Lists]

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

Re: tee logs no output if stdout is closed

From: Andreas Schwab
Subject: Re: tee logs no output if stdout is closed
Date: Tue, 01 Jul 2008 23:21:45 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Phillip Susi <address@hidden> writes:

> 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?

It would match the behaviour as defined by ASYNCHRONOUS EVENTS in 1.11
Utility Description Defaults.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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