emacs-devel
[Top][All Lists]
Advanced

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

Re: standard output/error/input streams


From: Stefan Monnier
Subject: Re: standard output/error/input streams
Date: Mon, 23 Jan 2017 08:11:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

> If we had a function to go to generate a stream from a process then we
> could have our cake and eat it.

(lambda (c) (process-send-string PROC (string c))) ?

BTW, w.r.t stdin/stdout/stderr: these are special because they may be
inaccessible to something like a subprocess (or at least it can be nigh
on impossible for the Emacs process itself to determine where
std(in|out|err) are going).

IOW, additionally to make-file-process, we'd need
a make-process-from-open-file-descriptor.


        Stefan



reply via email to

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