Subject: Re: bug#57095: 'terminal-window-size' throws ENOTTY ("Inappropriate ioctl for device")

From: Maxime Devos <[email-masked]>
Date: Fri, 2 Sep 2022 20:14:44 +0200

On 02-09-2022 11:17, Ludovic Courtès wrote:
> [...]
>
> What’s frustrating is that I can’t think of a way to work around it,
> except by changing ‘terminal-columns’ & co. to not use exceptions (or
> introducing a variant that does that).
>
> Thoughts?

Exception handlers do not cross process boundaries. Maybe run the inner 
(catch ...) or (with-exception-handle ...) or whatever is used here in a 
separate thread + wait for the thread to return?

Greetings,
Maxime.