From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: holgar.sperr@gmail.com Newsgroups: gmane.emacs.help Subject: Re: execute shell scripts by call-process in msys2 environment Date: Thu, 13 Sep 2018 01:57:36 -0700 (PDT) Message-ID: References: <83c503fb-eb42-46e0-a035-08a7879a2259@googlegroups.com> <6d64819d-1a0f-4dfe-bdf0-fa17df068bc7@googlegroups.com> <83y3c6lnl5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536829106 31910 195.159.176.226 (13 Sep 2018 08:58:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2018 08:58:26 +0000 (UTC) Injection-Date: Thu, 13 Sep 2018 08:57:37 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 10:58:22 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0NS8-00088f-39 for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2018 10:58:20 +0200 Original-Received: from localhost ([::1]:41224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0NUE-0000UM-IW for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2018 05:00:30 -0400 X-Received: by 2002:ac8:44d2:: with SMTP id b18-v6mr2055226qto.51.1536829057284; Thu, 13 Sep 2018 01:57:37 -0700 (PDT) X-Received: by 2002:a0c:9618:: with SMTP id 24-v6mr56336qvx.4.1536829057138; Thu, 13 Sep 2018 01:57:37 -0700 (PDT) Original-Path: usenet.stanford.edu!z10-v6no179486qtb.0!news-out.google.com!i36-v6ni67qti.0!nntp.google.com!z10-v6no179479qtb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=141.43.239.224; posting-account=0Qf4jAoAAADBvBPPdRjnSmJQ2X7C8Vdn Original-NNTP-Posting-Host: 141.43.239.224 Original-Xref: usenet.stanford.edu gnu.emacs.help:223756 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117881 Archived-At: Am Mittwoch, 12. September 2018 19:11:12 UTC+2 schrieb Eli Zaretskii: [...] > Yes, MSYS2 moves more and more towards being just a variant of Cygwin > in this regard: a large number of "ported" packages are available just > as MSYS2 builds, which means you cannot easily run them from native > apps. > > In this case, it should be trivial to provide a small batch file that > invokes "rcs ci" exactly like the shell script does. Then native > programs, including Emacs, will be able to invoke the batch file as if > it were a program. Alas, the MSYS2 guys evidently don't think this to > be important enough... I am going to bring up this topic to the msys2 developers. [...] > >> The following advice works for me on emacs 26 and later to fix this >> problem on Cygwin (MSYS2 should be similar): > > I think it's much easier and safer to write a one-line batch file. > > Thanks. Since my Lisp is a bit rusty, I fixed the problem in my current setup by one-line batch files and saved the Lisp functions for the future. Thanks to both of you for clarifying the subject. Holger