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: Thu, 13 Sep 2018 01:57:36 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

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