unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Juan José García-Ripoll" <juanjose.garciaripoll@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Problems with call-process (= identifying run-python issues)
Date: Tue, 18 Aug 2020 18:41:25 +0300	[thread overview]
Message-ID: <831rk4ezbu.fsf@gnu.org> (raw)
In-Reply-To: <86h7t0nkiw.fsf@csic.es> (juanjose.garciaripoll@gmail.com)

> From: Juan José García-Ripoll <juanjose.garciaripoll@gmail.com>
> Date: Tue, 18 Aug 2020 15:36:23 +0200
> 
> I am running into a weird issue in Windows 10, both with Emacs 27 and
> Emacs 26.3. It all boils down to whether Emacs is invoked from the
> command line or not. In one case, subprocesses get their input properly
> redirected, in other cases not. All tests are done with plain vanilla
> Emacs, using core libraries (no programming mode).
> 
> My test files are below. Essentially, the file test.el is trying to
> imitate what python.el uses to call a python process, but instead of
> that, it uses a simple copycat script that copies the input stream to
> the output stream.

Could you please present a complete recipe for reproducing the
problems, starting from "runemacs -Q"?  I got confused by the test
files.  Can this be done without involving Python, for example?

Thanks.



  reply	other threads:[~2020-08-18 15:41 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 [this message]
     [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

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=831rk4ezbu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juanjose.garciaripoll@gmail.com \
    /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).