all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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: Wed, 12 Sep 2018 07:57:32 -0700 (PDT)	[thread overview]
Message-ID: <6d64819d-1a0f-4dfe-bdf0-fa17df068bc7@googlegroups.com> (raw)
In-Reply-To: <mailman.675.1536761912.1284.help-gnu-emacs@gnu.org>

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


  parent reply	other threads:[~2018-09-12 14: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 [this message]
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=6d64819d-1a0f-4dfe-bdf0-fa17df068bc7@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.
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.