unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: holgar.sperr@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: execute shell scripts by call-process in msys2 environment
Date: Thu, 13 Sep 2018 01:57:36 -0700 (PDT)	[thread overview]
Message-ID: <c67a4a0f-d7bd-4865-b425-6322e7bb0648@googlegroups.com> (raw)
In-Reply-To: <mailman.691.1536772269.1284.help-gnu-emacs@gnu.org>

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


  parent reply	other threads:[~2018-09-13  8:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12  9:32 execute shell scripts by call-process in msys2 environment holgar.sperr
2018-09-12 14:18 ` Eli Zaretskii
     [not found] ` <mailman.675.1536761912.1284.help-gnu-emacs@gnu.org>
2018-09-12 14:57   ` holgar.sperr
2018-09-12 15:52     ` Eli Zaretskii
2018-09-12 16:45       ` Andy Moreton
2018-09-12 17:10         ` Eli Zaretskii
     [not found]         ` <mailman.691.1536772269.1284.help-gnu-emacs@gnu.org>
2018-09-13  8:57           ` holgar.sperr [this message]
     [not found]     ` <mailman.683.1536767585.1284.help-gnu-emacs@gnu.org>
2018-09-12 16:31       ` holgar.sperr
2018-09-12 17:03         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c67a4a0f-d7bd-4865-b425-6322e7bb0648@googlegroups.com \
    --to=holgar.sperr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).