help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: execute shell scripts by call-process in msys2 environment


From: holgar . sperr
Subject: Re: execute shell scripts by call-process in msys2 environment
Date: Wed, 12 Sep 2018 07:57:32 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]