emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2c79a8f 2/2: Use posix_spawn if possible.


From: Philipp Stephani
Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible.
Date: Thu, 31 Dec 2020 18:36:47 +0100

Am Do., 31. Dez. 2020 um 17:40 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Thu, 31 Dec 2020 17:24:41 +0100
> > Cc: Emacs developers <emacs-devel@gnu.org>
> >
> > I think that using posix_spawn on GNU/Linux and for non-pty processes
> > is still a significant win, though.
>
> Maybe so, but are there enough use cases that need non-PTY
> subprocesses to make this worth our while?

Most processes don't need a TTY. Only those that interact with the
user (shell, term, interactive compile, ...) do, but that's probably a
minority. In particular, everything running in the background
(Flymake, VC...) doesn't, as well as synchronous processes
(call-process etc.). TTY-based communication happens to be the default
for asynchronous processes, but that's more of a historical choice
than a real need.



reply via email to

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