[Top][All Lists]

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

bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#

From: Maxim Nikulin
Subject: bug#12972: [PATCH] Avoid regression in mailcap-view-file similar to Bug#44824
Date: Mon, 5 Jul 2021 20:12:34 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

By mistake I sent the message below as private one at first. However it actually does not add anything new to my previous comments to the bug.

On 04/07/2021 20:49, Eli Zaretskii wrote:
From: Maxim Nikulin Date: Sun, 4 Jul 2021 20:37:24 +0700

Sorry, I'm not sure I understand what this is all about.  Are you
still talking about the patch you proposed?

Yes, I am. It is about proper way to a launch viewer in `mailcap-view-file'. Original `start-process-shell-command' with 'pty connection type prematurely kills children of kde-open5 or gio open. With 'pipe connection type it or `make-process' might make emacs CPU hungry if a child decides to close stdout and stderr:

exec 1>&-
exec 2>&-
sleep 30

and finally `process-file-shell-command' does not allow to report failure. Moreover you suspect another secret compatibility problem with 'pipe.

reply via email to

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