help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending data to an asynchronous process


From: Nicolas Graner
Subject: Re: sending data to an asynchronous process
Date: Sat, 03 Apr 2021 01:03:55 +0200

Eli Zaretskii <eliz@gnu.org> wrote on 2021-04-02 22:15:
> call-process-region writes the data to a temporary file, and then
> invokes the subprocess.  So if you do the same "by hand" and then call
> start-process, you will have the best of all worlds.  IOW, the
> temporary file solution you didn't like is exactly what
> call-process-region does under the hood, and so efficiency is not the
> issue here.  As for cleaning up the temporary files, that isn't really
> a problem, is it?

Great, that's exactly the information I needed. I've rewritten the code
using a temporary file and it works like a charm.
Many thanks!

Nicolas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]