From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#71446: 30.0.50; em-extpipe-test-14 fails on MS-Windows Date: Sun, 9 Jun 2024 14:03:18 -0700 Message-ID: References: <86ed96bshd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11984"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spwhitton@spwhitton.name To: Eli Zaretskii , 71446@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 09 23:05:21 2024 Return-path: 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 ) id 1sGPj7-0002sk-2d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jun 2024 23:05:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGPic-00083h-V3; Sun, 09 Jun 2024 17:04:50 -0400 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 1sGPiZ-00081y-Ny for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 17:04:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGPiY-00044z-6d for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 17:04:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGPio-0003ym-OO for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 17:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2024 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71446 X-GNU-PR-Package: emacs Original-Received: via spool by 71446-submit@debbugs.gnu.org id=B71446.171796708415229 (code B ref 71446); Sun, 09 Jun 2024 21:05:02 +0000 Original-Received: (at 71446) by debbugs.gnu.org; 9 Jun 2024 21:04:44 +0000 Original-Received: from localhost ([127.0.0.1]:60653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGPiW-0003xY-5x for submit@debbugs.gnu.org; Sun, 09 Jun 2024 17:04:44 -0400 Original-Received: from mail-pl1-f181.google.com ([209.85.214.181]:44409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGPiU-0003x8-6s for 71446@debbugs.gnu.org; Sun, 09 Jun 2024 17:04:42 -0400 Original-Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1f6e183f084so13337915ad.1 for <71446@debbugs.gnu.org>; Sun, 09 Jun 2024 14:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717967000; x=1718571800; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:cc:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=zxeSmg3M+YAhmO9/ZrMBHYcPME5+wrzE5jbkqf4/3Sw=; b=PkN8hGdXPGMD5Un+ZZyvFvk8zvMS58qg9u31oQwaLoEWZvttIVnggfXED+ZN2dAkce XEiJHvAfklott3/RPgkEgpjIeDyKdTmeUS71eviH2n7X0K8I7YWHZLgaIJfzcFv0x3Yk XDuMOZGmZMR282SEXFBb3gUAOsCtqJdvuCOScGEBpnbT14nwpRRf/2OSAvTpsoqHeHhx 9skb+f3LMHtGhWMdRt+/uRUUtiMvAYGK42NGSVdl5k3ra+EMNtdMpMy68Il5gBSPmZNb KMX5vWH/KYKnJ5ii1qnlPjci7l/6CxTAv5pnPMTGYDbZ5nOTbEwHuZccXyHl/6hGXI3s p0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717967000; x=1718571800; h=content-transfer-encoding:in-reply-to:cc:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zxeSmg3M+YAhmO9/ZrMBHYcPME5+wrzE5jbkqf4/3Sw=; b=e4SEpnrkaqcxnUTSdRSjD1zpMqYo4AglTKh9wu52S+wtWVepFmH3GVTmr+G9RIMXXt ZTbVgPdxC+bDWICtbIWQxXRbMg0vUs4vHebDHQ7ayWT0FQCgJEJ1WbmnAmXCf28FFXYk ciOeOrN9cga2cOp7SNc8H0xcLXhXjn2vTpv+QnaEy8tRlDLXhZP8BOeFyQmoV5wpKPTj unj73CkkxHjePSBaWdlYRg+cJHAvCJ14tAYGciSS9U64dSqMPXsopdUHdqznzgAtc/sL qYPJl5ZhLzFCvJigsrER0TCux2CB7o4Ng3Jl2ht0q3jR4CsdZm54ZRyMvYpVX/eB4mCW gR2Q== X-Forwarded-Encrypted: i=1; AJvYcCXcHdgM/vIHmUKdgKQ6Sk1+2Iy35PHztdKM6PzyLmNySy3d1IugcDsaMwr8p7nJs4EOz789Tf4bvaXOEzzYmYcvnlvHRH4= X-Gm-Message-State: AOJu0YxNJUDiIR2TcKstxJNk/p9rSM1n7Mc/+i2UHwtlQIa2EaMZD+37 AGi6p+WguvCXTRh1cAuOgd/2JjP8N5yHoaV89dznu/pLxqSz+++O X-Google-Smtp-Source: AGHT+IH+4VthgffsOYM+3TE7/3icwSzDGpm5AZzy0UwJhCl/QZ0dLy3yATn8vkKLe8w6HnLd3zcm9Q== X-Received: by 2002:a17:902:c94c:b0:1f6:7a56:eefd with SMTP id d9443c01a7336-1f6d03e701amr77809095ad.63.1717966999679; Sun, 09 Jun 2024 14:03:19 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-1f6f2cd14e0sm29918995ad.226.2024.06.09.14.03.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Jun 2024 14:03:19 -0700 (PDT) Content-Language: en-US In-Reply-To: <86ed96bshd.fsf@gnu.org> 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286980 Archived-At: On 6/8/2024 10:22 PM, Eli Zaretskii wrote: > The failure is as follows: [snip] > Test em-extpipe-test-14 condition: > Command logs: command: "tac * > ---------------------------------------- > [process] started external process `cmdproxy.exe' > > d\:/gnu/git/emacs/trunk/nt/cmdproxy.exe -c tac\ \ ---------------------------------------- > [process] received output from process `cmdproxy.exe' > > tac: standard input: read error > > ---------------------------------------- > [process] sentinel for external process `cmdproxy.exe': "exited abnormally with code 1 > " > ---------------------------------------- > [process] finished external process `cmdproxy.exe' [snip] > > AFAIU, the problem is that this invokes 'tac' with redirection, but > the redirected file name uses Unix-style forward slashes, which > doesn't work on Windows: the file name after "<" must use backslashes. Are you sure? I tested on an MS-Windows system (no dev env there, but I can run pre-built programs), and forward slashes seem ok. I ran the following without issue inside cmd.exe: tac I also don't understand all those backslashes in > > d\:/gnu/git/emacs/trunk/nt/cmdproxy.exe -c tac\ \ > Are they real or just some artifact of printing the command? If they > are real, and included in the command line, then perhaps my analysis > is incorrect and there are more fundamental problems here. Those should just be an artifact of printing the command. I've changed that logging to use the current system's quoting style, so you should hopefully see something like the following in the logs now: "d:/gnu/[...]/cmdproxy.exe" "-c" "tac