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: Eli Zaretskii
Subject: Re: execute shell scripts by call-process in msys2 environment
Date: Wed, 12 Sep 2018 17:18:35 +0300

> Date: Wed, 12 Sep 2018 02:32:46 -0700 (PDT)
> From: holgar.sperr@gmail.com
> Injection-Date: Wed, 12 Sep 2018 09:32:46 +0000
> 
> I wanted to activate version control from within Emacs (26.1 under msys2) 
> using the rcs backend provided through msys2 repository.
> 
> The problem is now that for instance the registering by 'ci' is not 
> successful, because the corresponding shell script is not found.
> 
> 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?

> 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.



reply via email to

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