Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: The elements of enlightenment



On Mon, Dec 5, 2022 at 3:52 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> probably wouldn't understand the answer anyway but I hafta wonder why
> this forking is so necessary.

I wrote to you back on October 7:

> $(...) spawns a subshell because stdin/stdout text is passed from one
> process to another using pipes, and if a process has a pipe to itself
> it can deadlock trying to read something it hasn't written yet (or
> write something there isn't room for because not enough has been read
> yet).




Messages sorted by: Reverse Date, Date, Thread, Author