From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: how to run makeinfo in a subprocess on Windows? Date: Sun, 05 Sep 2021 22:52:03 -0400 Message-ID: References: <86bl56skqd.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21496"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 06 04:53:09 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mN4ku-0005Lo-E4 for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Sep 2021 04:53:08 +0200 Original-Received: from localhost ([::1]:34312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mN4ks-0002Eb-Bk for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Sep 2021 22:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN4k2-0001Ux-9r for emacs-devel@gnu.org; Sun, 05 Sep 2021 22:52:14 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN4jy-0001Ke-S9 for emacs-devel@gnu.org; Sun, 05 Sep 2021 22:52:12 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8E671808CB; Sun, 5 Sep 2021 22:52:10 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 38D04805CC; Sun, 5 Sep 2021 22:52:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1630896729; bh=7yTambpiFcZCrqTCd19Mk3vxx+W/h/m+niuYF2BvwYM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=e7qMJ/Vpf05Qhb0wrEsK3FjXUGyH1kbZGb5eQGAWbQ3tuX6JI9Atzn+dsjm0UeyTH Q5nhppvaHkiNooJtOqgXXMRRlJfxQ+Hp902YjyV0Le42evIHWw3i70g0GOMfNTK1GK 997N+FLUiVyoMrb8a7xEglnUKp00MGvIni1KWf/4R07gOY0ZVwNjyoutMksibmG6X/ OIIAq/ctC6gj3bvLlb69zNYD0qK+xqZYAztXcn2offvTk0BdlmjR/HT30P7Ti9qrok xgcairaUhvmZ/LSHQwrSJUmwu4ATDcWTJpxVJR3JxkviamaTsQic+ETSd6xjNT3FPT +oG9M+HJ2BwMw== Original-Received: from milanesa (unknown [104.247.244.135]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DE6E212055F; Sun, 5 Sep 2021 22:52:05 -0400 (EDT) In-Reply-To: <86bl56skqd.fsf@stephe-leake.org> (Stephen Leake's message of "Sun, 05 Sep 2021 15:47:38 -0700") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274048 Archived-At: Stephen Leake [2021-09-05 15:47:38] wrote: > Is there a suggested way to handle this? I can just add code to > elpa-admin to run perl explicitly when on Windows, but I'm hoping > there's already code somewhere that handles this. I'd *really* prefer not to add such hacks to `elpa-admin.el`. Especially since this code's main target is elpa.gnu.org which is obviously not running Windows ;-) Whether or not it works under Windows is fairly secondary, so I'd rather not obscure its code just for the benefit of Windows. [ It doesn't mean I'm opposed to patches targeted at adding support for Windows, as evidenced by some recentish changes to ignore errors when creating symlinks, but I'd like to keep it to a minimum, especially if there's a workaround like running a cygwin build of Emacs instead of the native build. ] I know very little about Windows, but my crystal ball suggests that you need to use a different version of `makeinfo` (after all, if a native Emacs can't launch it, there's a change that other native apps can't either, so maybe you're running some cygwin version of it?). Stefan