[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed ou
From: |
Arsen Arsenović |
Subject: |
Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs |
Date: |
Mon, 12 Dec 2022 14:01:08 +0100 |
Hi Rob,
Rob Landley <rob@landley.net> writes:
> This sort of thing is why I added -i to toybox's "timeout" command:
>
> -i Only kill for inactivity (restart timeout when command produces
> output)
>
> It runs the command's stdout through a pipe and does a poll() with the -i
> seconds value, and signals the program if the poll() expires.
>
> The android guys found it useful, but I was waiting to hear back about "cut
> -DF"
> before bringing it up here...
That's interesting, might be worth adding to the GNU timeout, however,
it's not appropriate for what I'm using tee for, since compiler
processes could appear idle for a long time, if doing LTO for instance.
Thanks, have a great day.
--
Arsen Arsenović
signature.asc
Description: PGP signature
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, (continued)
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/10
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/10
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Arsen Arsenović, 2022/12/12
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/12
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Pádraig Brady, 2022/12/13
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/13
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Arsen Arsenović, 2022/12/13
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/15
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/15
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Rob Landley, 2022/12/11
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs,
Arsen Arsenović <=
- Re: [PATCH] tee: Add --pipe-check to allow instantly detecting closed outputs, Carl Edquist, 2022/12/12