emacs-devel
[Top][All Lists]
Advanced

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

Re: Sending EOF to process as part of comint-simple-send


From: Eli Zaretskii
Subject: Re: Sending EOF to process as part of comint-simple-send
Date: Sun, 15 Jan 2023 11:08:37 +0200

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Jim Porter <jporterbugs@gmail.com>,  emacs-devel@gnu.org
> Date: Sun, 15 Jan 2023 09:40:09 +0100
> 
> On Jan 15 2023, Eli Zaretskii wrote:
> 
> > Right.  This doesn't work for pipes, so I intend to introduce a new
> > function that does fsync on the descriptor via which we write to the
> > sub-process, and call it there instead of process-send-eof.  Does this
> > make sense?
> 
> You will probably get EINVAL.

And the stuff will not be flushed?  Is there a better way of doing
that for pipe file descriptors?



reply via email to

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