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: Wed, 12 Sep 2018 07:57:32 -0700 (PDT) Message-ID: <6d64819d-1a0f-4dfe-bdf0-fa17df068bc7@googlegroups.com> References: <83c503fb-eb42-46e0-a035-08a7879a2259@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536764309 9464 195.159.176.226 (12 Sep 2018 14:58:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 14:58:29 +0000 (UTC) Injection-Date: Wed, 12 Sep 2018 14:57:33 +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 Wed Sep 12 16:58:25 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 1g06b0-0002Fx-So for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 16:58:22 +0200 Original-Received: from localhost ([::1]:36634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g06d7-0004n5-7g for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 11:00:33 -0400 X-Received: by 2002:a37:14e3:: with SMTP id 96-v6mr659006qku.15.1536764253348; Wed, 12 Sep 2018 07:57:33 -0700 (PDT) X-Received: by 2002:ac8:35e8:: with SMTP id l37-v6mr28018qtb.6.1536764253180; Wed, 12 Sep 2018 07:57:33 -0700 (PDT) Original-Path: usenet.stanford.edu!z10-v6no362174qtb.0!news-out.google.com!i36-v6ni190qti.0!nntp.google.com!z10-v6no362161qtb.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:223743 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:117868 Archived-At: Am Mittwoch, 12. September 2018 16:18:35 UTC+2 schrieb Eli Zaretskii: [...] >> What I do understand by now: Processes in this setup are initialized by >> 'cmd.exe'. >> >> Is there an easy solution to circumvent this problem? > > Do you really need to use the latest version of RCS offered by MSYS2? No, but I thought on a solution within Emacs since 'shell-command' finds and executes the shell script. Probably, this wouldn't be that easy. >> Or would you recommend a different setup, e.g. ezwinports? > > Naturally, that's what I would recommend ;-) I'm still using the > ported RCS available there for some very old repositories. > >> What should be considered in this case? > > Nothing; those ports are native Windows ports and will work with a > native Windows Emacs without any problems. They do for me. > >> (I do like msys2 for scripting and easy administration and would therefore >> prefer a msys2 solution.) > > Well, you have just bumped into one problem with MSYS2 solutions. In > general, if you want to use MSYS2, you should have most or all of your > programs be MSYS2 builds, not MinGW (a.k.a. "native") builds. > > OTOH, the ezwinports port of RCS should run from MSYS2 shells without > problems. I will try the outside-emacs-solution you are suggesting (especially the last mentioned possibility). Thank you for your advice. Holger