all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: execute shell scripts by call-process in msys2 environment
Date: Wed, 12 Sep 2018 17:18:35 +0300	[thread overview]
Message-ID: <835zzan6is.fsf@gnu.org> (raw)
In-Reply-To: <83c503fb-eb42-46e0-a035-08a7879a2259@googlegroups.com> (holgar.sperr@gmail.com)

> 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	other threads:[~2018-09-12 14:18 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 [this message]
     [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
     [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

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

  git send-email \
    --in-reply-to=835zzan6is.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.