[Top][All Lists]

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

Re: other "concurrency" approaches

From: Nic Ferrier
Subject: Re: other "concurrency" approaches
Date: Tue, 03 Nov 2015 17:16:10 +0000

Eli Zaretskii <address@hidden> writes:

>> What you want is the ability to do something like this:
>>  (let ((proc (start-process "emacs" args-to-make-it-headless)))
>>    (process-send-string proc (prin1-to-string '(+ 1 (* 30 45))))
>>    (process-send-eof proc)
>>    (print (buffer-string (process-buffer proc))))
>> in other words, an Emacs that just reads forms from stdin and executes
>> them and outputs to stdout.
> This sounds like a description of -batch, but you already know about
> it, so I'm quite sure I'm missing something important here.

-batch has a peculiar environment, it does not read the user's


reply via email to

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