[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Query about call-process
From: |
Philipp Stephani |
Subject: |
Re: Query about call-process |
Date: |
Sun, 01 Apr 2018 17:21:37 +0000 |
Eli Zaretskii <eliz@gnu.org> schrieb am Sa., 31. März 2018 um 09:41 Uhr:
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Fri, 30 Mar 2018 21:24:00 +0000
> > Cc: help-gnu-emacs@gnu.org
> >
> > Eli Zaretskii <eliz@gnu.org> schrieb am Fr., 30. März 2018 um 23:22 Uhr:
> >
> > > From: Philipp Stephani <p.stephani2@gmail.com>
> > > Date: Fri, 30 Mar 2018 19:44:25 +0000
> > > Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> > >
> > > Though the argument is a bit weird because `make-process' can do
> exactly
> > > that. It would just require changing `call-process' to use a select
> loop to
> > > achieve the same effect.
> >
> > Once you change call-process to do the same as make-process, what
> > would be the difference between those two?
> >
> > call-process would still wait for the process to finish.
>
> make-process can do that, too.
>
>
How? Probably it's some combination of make-process, process-send-region,
and accept-process-output, but I haven't yet figured out a combination that
doesn't make Emacs hang.
- Re: Query about call-process,
Philipp Stephani <=