unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Problems with call-process (= identifying run-python issues)
Date: Thu, 20 Aug 2020 09:52:57 +0200	[thread overview]
Message-ID: <865z9dda92.fsf@csic.es> (raw)
In-Reply-To: 83wo1ud0v2.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:
> It doesn't have to be "weird", it can be as simple as some antivirus
> software or some other such stuff, they could be blocking or tweaking
> cmd.exe invocations in some situations.  (Yes, in some quarters
> cmd.exe invocations are considered potential security risk.)

The script gets invoked. If I add an "echo I have been executed" line,
it shows in the output. That's the difference with the aspell.exe
problem -- here the executable from msys2/mingw64 was broken.

> It's possible to attach GDB to Emacs on Windows, yes.

It may not be that complicated. I just experienced the same problem with
a freshly new compiled Emacs, ran from a mingw prompt.

> I actually looked at the source code involved in redirecting the
> standard handles of subprocesses on Windows, and saw that if
> redirection fails, Emacs should signal an error.  So something morfe
> subtle happens in your case.  Maybe the batch file doesn't even run?

As I said above, the script does get executed. I hope it's not something
more complicated in the exec() code. Let's see if I can find anything --
hopefully it's not something as complicated as the Nextcloud
problems... And apologies for the noise this brings to the list.

Cheers,

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




      reply	other threads:[~2020-08-20  7:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 13:36 Problems with call-process (= identifying run-python issues) Juan José García-Ripoll
2020-08-18 15:41 ` Eli Zaretskii
     [not found]   ` <CANejTzpQdx=7gzbkV-gzoyFKHx+U1sKy2Uid13g6hpwCa_GnRA@mail.gmail.com>
2020-08-18 16:24     ` Eli Zaretskii
2020-08-19  8:59       ` Juan José García-Ripoll
2020-08-19 14:41         ` Eli Zaretskii
2020-08-19 16:23           ` Juan José García-Ripoll
2020-08-19 17:03             ` Eli Zaretskii
2020-08-20  7:52               ` Juan José García-Ripoll [this message]

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=865z9dda92.fsf@csic.es \
    --to=juanjose.garciaripoll@gmail.com \
    --cc=emacs-devel@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 public inbox

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

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