Index | Thread | Search

From:
Florian Obser <florian@openbsd.org>
Subject:
Re: watch(1): wait for child asynchronously
To:
tech@openbsd.org
Date:
Wed, 21 May 2025 14:32:32 +0200

Download raw body.

Thread
On 2025-05-21 13:11 +02, Claudio Jeker <cjeker@diehard.n-r-g.com> wrote:
> On Wed, May 21, 2025 at 11:46:00AM +0200, Florian Obser wrote:
>> OK?
>
> Why? What is the benefit of this?
> I don't know watch but you do not explain why we need to do this async.

Because the UI locks up if you watch a long running process.

But never mind, this is not correct, we need to make sure that we don't
accidentally start another instance if the watched process outputs more
than MAXLINE (300) lines.

-- 
In my defence, I have been left unsupervised.