From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.help Subject: Re: (Windows) Problems with processes on master branch Date: Sat, 02 Mar 2024 13:16:10 +0100 Message-ID: <867cikakxh.fsf@gnu.org> References: <87sf19aoj1.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 02 13:17:44 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 1rgOJE-0008f5-Eh for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 02 Mar 2024 13:17:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgOIk-0006BJ-FX; Sat, 02 Mar 2024 07:17:14 -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 1rgOId-0006AQ-7I for help-gnu-emacs@gnu.org; Sat, 02 Mar 2024 07:17:08 -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 1rgOIc-0003HI-6e; Sat, 02 Mar 2024 07:17:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=NgqeppEvqOIPPui+WnI9hRFO7GJxh8P7cJR0Vn7uc1M=; b=RWfmlBC5P8uDBvEwiva5 D1p+ExKJEKYxah/FVSqtekjmZDqE/Kb5vg4ZKu2CIvDN+W7ysV5xGXcYgE46E6oph9n/1bWkHKSno Cy8RTtydxakRwoWnnpzj1JoOywrip9ysRPepx2B5/FiGPpMlsIdH1LRO+62rOhm/8qDtiymXWYxjg tkxELcR7EPfhn/Ua+SgzvEQb2VNPVR+V2eNEWPmjXTEDBidB9s1sGM+138ch55XkYik1lfTE2dOsI p3GAhHnyGurzP9jyBSKe2iZrLIkTZ371T4i8yEqShDdFoLYKSGwWmx6dE62MeI/h7CA0OkMwAryqd 3Jr6gDb84um2bg==; In-Reply-To: <87sf19aoj1.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "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:146019 Archived-At: =D3scar Fuentes writes: > 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. With my Emacs 30 (d0766c0999) build, started from cmd.exe with 'runemacs -Q' and M-x shell RET, I get: --8<---------------cut here---------------start------------->8--- Microsoft Windows [Version 10.0.19045.4046] (c) Microsoft Corporation. Alle Rechte vorbehalten. z:dir\>gcc -v gcc -v Using built-in specs. ... --8<---------------cut here---------------end--------------->8--- With 'emacs -Q' started from a MinGW64 shell, M-x shell RET says: --8<---------------cut here---------------start------------->8--- bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell $ gcc -v Using built-in specs. ... --8<---------------cut here---------------end--------------->8--- Both versions work, despite the bash message. I didn't try eshell. Best, Arash