[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: |
Paolo Bonzini |
Subject: |
Re: tee logs no output if stdout is closed |
Date: |
Fri, 03 Oct 2008 14:43:20 +0200 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Jim Meyering wrote:
> Paolo Bonzini <address@hidden> wrote:
>> Jim,
>>
>>> Imagine a scenario in which the pipe reader is expected always to
>>> be reading, and so the pipe writer can expect that any write failure with
>>> errno==EPIPE indicates the reader has terminated unexpectedly.
>> If the writer should terminate first, the reader can still detect the
>> failure using SIGPIPE and/or SIGCHLD. Since you say that you consider
>
> The above was assuming that SIGPIPE is being ignored.
But if you need it, what's wrong with un-ignoring it?
Paolo
- Re: tee logs no output if stdout is closed, (continued)
- Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/03
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/03
- Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/03
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/04
- Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/04
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/05
- Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/05
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/07
- Re: tee logs no output if stdout is closed, Paolo Bonzini, 2008/10/03
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/03
- Re: tee logs no output if stdout is closed,
Paolo Bonzini <=
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/03
- Re: tee logs no output if stdout is closed, Paolo Bonzini, 2008/10/03
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/03
- Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/03
- Re: tee logs no output if stdout is closed, Paolo Bonzini, 2008/10/03
- Re: tee logs no output if stdout is closed, Jim Meyering, 2008/10/03
Re: tee logs no output if stdout is closed, Bruno Haible, 2008/10/05