From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#51177: 29.0.50; stop-process on pipes Date: Wed, 13 Oct 2021 13:45:05 +0200 Message-ID: <87pms96tdq.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51177@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 13 13:46:32 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maciL-0002uf-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 13:46:29 +0200 Original-Received: from localhost ([::1]:43412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maciJ-00087S-O5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Oct 2021 07:46:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1machv-0007xx-0s for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 07:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1machu-0003eq-KS for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 07:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1machu-0005R9-IP for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2021 07:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2021 11:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51177 X-GNU-PR-Package: emacs Original-Received: via spool by 51177-submit@debbugs.gnu.org id=B51177.163412551518182 (code B ref 51177); Wed, 13 Oct 2021 11:46:02 +0000 Original-Received: (at 51177) by debbugs.gnu.org; 13 Oct 2021 11:45:15 +0000 Original-Received: from localhost ([127.0.0.1]:58646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mach8-0004ii-JG for submit@debbugs.gnu.org; Wed, 13 Oct 2021 07:45:14 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mach7-0004bg-Ke for 51177@debbugs.gnu.org; Wed, 13 Oct 2021 07:45:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xkn53zVxp7QUKFELDve0rkR4u0qP6iimkXNEY0xEQbQ=; b=hM4gl+hj2mXEb5xBGCJLM/tQN/ G81FOPpf9wj/Dh05WzNUbGlDrEChNgfMcwZTMIFu5P2E9XKoU6h7ntRvy2SWqUxAGNWqhksbKmfL2 dxg6596QSXFZbtFBdHAxYSNHwe7fOpX6Q7eJBJad7fifgBn0mWwgZXmqKf+U3MMK08sI=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1macgz-0007mG-KD; Wed, 13 Oct 2021 13:45:08 +0200 X-Now-Playing: Sylvester's _Sylvester-Step II_: "Just You And Me Forever" In-Reply-To: (Helmut Eller's message of "Wed, 13 Oct 2021 11:20:01 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217106 Archived-At: Helmut Eller writes: > I would like to request this feature: stop-process, when called with a > sub-process that is connected via pipes, should use delete_read_fd. It > should basically do the same as for sockets. > > Currently, stop-process uses some difficult to understand logic and > eventually sends SIGSTOP to the process. This might work in theory, but > in practice it can take a long time before Emacs stops receiving output. You're supposed to be able to use `continue-process' on the process after stopping it for a while -- that's not possible if you delete the fd. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no