From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Lars Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#36331: 26.2;
 command run using dired-do-async-shell-command cannot take any input
Date: Fri, 20 May 2022 01:36:34 +0200
Message-ID: <87v8u1858d.fsf@gnus.org>
References: <87mui9ztg8.fsf@JRVLAPTOP.i-did-not-set--mail-host-address--so-tickle-me>
 <87a6bec43g.fsf@gnus.org> <83zgjeetgn.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="8814"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Cc: jrvarma@gmail.com, 36331@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 20 01:37:13 2022
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1nrphh-00029A-17
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 May 2022 01:37:13 +0200
Original-Received: from localhost ([::1]:45884 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1nrphf-0000jQ-AJ
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 May 2022 19:37:11 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59268)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nrphW-0000iF-NK
 for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 19:37:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:42971)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1nrphW-000099-EN
 for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 19:37:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nrphW-000736-B4
 for bug-gnu-emacs@gnu.org; Thu, 19 May 2022 19:37:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 19 May 2022 23:37:02 +0000
Resent-Message-ID: <handler.36331.B36331.165300341127067@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 36331
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
Original-Received: via spool by 36331-submit@debbugs.gnu.org id=B36331.165300341127067
 (code B ref 36331); Thu, 19 May 2022 23:37:02 +0000
Original-Received: (at 36331) by debbugs.gnu.org; 19 May 2022 23:36:51 +0000
Original-Received: from localhost ([127.0.0.1]:36865 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1nrphK-00072V-W9
 for submit@debbugs.gnu.org; Thu, 19 May 2022 19:36:51 -0400
Original-Received: from quimby.gnus.org ([95.216.78.240]:56180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@gnus.org>) id 1nrphJ-00072G-Ig
 for 36331@debbugs.gnu.org; Thu, 19 May 2022 19:36:50 -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=f/fpJCwFnQTGH1Tr/aayQ2LknAm7gp7jOmvRaylvqcE=; b=PGXlQBRo9ab46eCbYZnKKXAFG6
 H8mExFerMhzFWsWDiqdku/7exfe6edvsxRZSa0i92GFsnN/AeLRH7H0qKK18l4BLLeOLZHg6HyKCK
 6NXhamHMlrTc27wrzJv8N1H+hixDkpsDygAlabaxw5j7oUdmOwtZlMd3BHBigVb/gSPc=;
Original-Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@gnus.org>)
 id 1nrph9-00085n-Vm; Fri, 20 May 2022 01:36:42 +0200
X-Now-Playing: Hector Zazou's _Reivax au Congo_: "Generique"
In-Reply-To: <83zgjeetgn.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 May
 2022 18:44:24 +0300")
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:232676
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/232676>

Eli Zaretskii <eliz@gnu.org> writes:

> Indeed, asynchronous commands cannot rely on being able to read and
> write standard streams.  Interactive commands should not be run
> asynchronously.

So I've now changed the command here to be consistent -- never accept
input (and mentioned this in the doc string for `&').

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no