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: "Process shell finished" on Windows Date: Sat, 14 Jan 2023 13:31:47 +0200 Message-ID: <83y1q573oc.fsf@gnu.org> References: <834jsua2rx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34072"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 14 12:32:16 2023 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 1pGeli-0008db-TP for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 14 Jan 2023 12:32:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGelN-0001uP-R8; Sat, 14 Jan 2023 06:31:53 -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 1pGelF-0001rZ-Nx for help-gnu-emacs@gnu.org; Sat, 14 Jan 2023 06:31:46 -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 1pGelF-0006bZ-Fd for help-gnu-emacs@gnu.org; Sat, 14 Jan 2023 06:31:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NEf7HacCTG7J8AxDNp+x3YPqmC5rAnyOzrRT0Z1AkPM=; b=kTaoe0LtCRJd UjCoIENexawQjW3tjGX6RU4NfL6fbyYBqVluCfCI+WyYuHag16jjIwlxA9QIoZJNEh53TotYaoJIN gfTU313YZ0muXwJa7sTWci1T3+hDuV4VM4NBqErCgw7f7a8l00ND/BlWgDfJWxJk4qpfoCEwPxjmf WRUBKuCTvqvkwDpeQPP7SZT52Y/kqc6FB/DCDrfEonW5MZhnIoa9a3nYI0eRx+E4/qequrAJmicUX PE1sRWMeRbLH2B+ZpvqW9GIthmpWwgAGFw8z4fh3/rWPKnL8E8GDQiR0GJO786KcgOgHevgCZUwa9 F0z5Hh+Co2AxVrknTEGegA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGelE-0002ZM-VT for help-gnu-emacs@gnu.org; Sat, 14 Jan 2023 06:31:45 -0500 In-Reply-To: (message from Galen Boyer on Fri, 13 Jan 2023 17:42:18 -0500) 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:142232 Archived-At: > From: Galen Boyer > Date: Fri, 13 Jan 2023 17:42:18 -0500 > > Galen Boyer writes: > > In comint.el, line #1914 we see the following code. > > (set-marker comint-accum-marker nil) > (let ((comint-input-sender-no-newline no-newline)) > (funcall comint-input-sender proc input).) > > When the command prompt first displayed "Process shell finished" > the cursor was at the `.' above. Sounds like a bug, but I don't see it here, so it's a bit hard to investigate. When you are at that place in the execution, and you see "Process shell finished", please produce a Lisp backtrace and post it here. (I assume you are stepping through the code with Edebug, in which case typing 'd' will produce the backtrace.) What are the commands with which you see this issue? Are they .exe executables, are they some kinds of shell scripts or batch files, are they something else? If they are all executables, where did you get them? You only posted a single example of a command which causes this, and you mentioned Cygwin, but you never described any additional details.