From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: (Windows) Problems with processes on master branch Date: Fri, 01 Mar 2024 18:52:59 +0200 Message-ID: <86bk7xrj10.fsf@gnu.org> References: <87sf19aoj1.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 01 17:53:31 2024 Return-path: Envelope-to: geh-help-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 1rg68Y-000ATb-2Z for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Mar 2024 17:53:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg68B-0001qT-8P; Fri, 01 Mar 2024 11:53:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg68A-0001pW-1F for help-gnu-emacs@gnu.org; Fri, 01 Mar 2024 11:53:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg689-0008KD-7R; Fri, 01 Mar 2024 11:53:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=zA49y76P7pS5ttGu4AFHXPZa7rtNZYpIVjnYn2vOMAo=; b=GhbA1s9tFvxW98797SFS dC9xUpZXFXGVG9fVNflCqopuevoxinxnvjQpJu/J0GvmpcZpYaEZpVAAI9tnIobUrJOWpm6ViYdsF 8RXTy7HhN+6GhNoYmU1eXdZv2ata5bNVE+A2ZnW22hII3C5sM9/k77pr0gmPD3oX4iPvDbC0tr9vW vDWacWNiAvXh5/zBBskhYJGWrpVx0yPjZQvLpEi5pPmFfP+8OU0ZOOIqZzEpSRIMpHINbBxFZOj1t uqsOtQvEEj+CxQXxWWu7Yirnea3cEjIroSGUl9Z4JMqafrFWVZOiyt0wO5V5HjmJWOcG98kfWcQH5 BNrfW1+SUzeX6Q==; In-Reply-To: <87sf19aoj1.fsf@telefonica.net> (message from =?utf-8?Q?=C3=93scar?= Fuentes on Fri, 01 Mar 2024 17:46:10 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146009 Archived-At: > From: Óscar Fuentes > Date: Fri, 01 Mar 2024 17:46:10 +0100 > > With a fresh MSYS2/Mingw-w64 build executed on Windows 11 64bits with > -Q, emacs mangles the output of processes and does not detect when they > end. > > For instance, with emacs -Q > > M-x shell > > it shows > > icrosoft Windows [Version > > Note the missing initial M. Then, emacs hangs (no input possible, C-g > doen't work) showing (Shell:run) on the modeline. I cannot reproduce this with the latest master branch. My build is a 32-bit one, but I don't think it should matter. > If I execute eshell instead of shell and invoke an executable like > > $ gcc -v > > the shown output misses the first line: > > Using built-in specs. > > and then eshell keeps waiting as if the command would still be > executing, which is false (Windows' Task Manager confirms that there is > no gcc executable running). I cannot reproduce this, either. My first guess would be some weird buffering issue. But I have no clue why it would happen. Which versions of Emacs behave like that?