unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: awrhygty@outlook.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 69795@debbugs.gnu.org
Subject: bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands
Date: Mon, 18 Mar 2024 10:24:59 +0900	[thread overview]
Message-ID: <TYZPR01MB3920C45E1A196C8BE4D020A4C32D2@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <861q886d3q.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Mar 2024 12:24:13 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: awrhygty@outlook.com
>> Cc: 69795@debbugs.gnu.org
>> Date: Mon, 18 Mar 2024 01:12:18 +0900
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Nothing jumps out as an obvious problem, but you did say that setting
>> > PATH affects this?  How does it affect the problem?  Is there a recipe
>> > where you invoke GDB with a different PATH, and don't see "Process
>> > shell finished" after exiting GDB?  If so, can you show a recipe with
>> > that different PATH?
>> 
>> Simply skipping PATH settings, cmdproxy.exe continues normally after
>> quitting c:\msys64\mingw64\bin\gdb.exe(full path needed.)
>
> So one of these two directories somehow triggers the problem?  Or do
> you need both on PATH to trigger the problem, and if you only add
> either one of them, the problem does not happen?

c:\msys64\usr\bin\ matters. And iconv.exe under it makes the difference.
In the log below, the process continues after the first call of gdb.exe,
while iconv.exe does not exist.
And the process finishes after the second call of gdb.exe,
while iconv.exe exists.

Microsoft Windows [Version 10.0.19045.4170]
(c) Microsoft Corporation. All rights reserved.

c:\tmp>set PATH=c:\msys64\usr\bin\;%PATH%
set PATH=c:\msys64\usr\bin\;%PATH%

c:\tmp>ren c:\msys64\usr\bin\iconv.exe iconv.exe-
ren c:\msys64\usr\bin\iconv.exe iconv.exe-

c:\tmp>c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\msys64\mingw64\bin\gdb.exe --version > nul

c:\tmp>ren c:\msys64\usr\bin\iconv.exe- iconv.exe
ren c:\msys64\usr\bin\iconv.exe- iconv.exe

c:\tmp>c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\msys64\mingw64\bin\gdb.exe --version > nul

c:\tmp>
Process shell finished





  reply	other threads:[~2024-03-18  1:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 10:55 bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands awrhygty
2024-03-14 11:25 ` Eli Zaretskii
2024-03-14 15:56   ` awrhygty
2024-03-14 16:48     ` Eli Zaretskii
2024-03-15 12:10       ` awrhygty
2024-03-15 12:49         ` Eli Zaretskii
2024-03-16  3:52           ` awrhygty
2024-03-16  8:21             ` Eli Zaretskii
2024-03-16 13:14               ` awrhygty
2024-03-16 17:34                 ` Eli Zaretskii
2024-03-17  1:06                   ` awrhygty
2024-03-17  6:18                     ` Eli Zaretskii
2024-03-17 16:12                       ` awrhygty
2024-03-17 16:24                         ` Eli Zaretskii
2024-03-18  1:24                           ` awrhygty [this message]
2024-03-18 13:05                             ` Eli Zaretskii
2024-03-18 22:54                               ` awrhygty
2024-03-19 12:32                                 ` Eli Zaretskii
2024-03-19 13:21                                   ` awrhygty
2024-03-19 13:49                                     ` Eli Zaretskii
2024-03-19 14:26                                       ` awrhygty
2024-03-19 15:50                                         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TYZPR01MB3920C45E1A196C8BE4D020A4C32D2@TYZPR01MB3920.apcprd01.prod.exchangelabs.com \
    --to=awrhygty@outlook.com \
    --cc=69795@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).