Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird issue with pipeviewer and multiple pipes
- X-seq: zsh-workers 38415
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Weird issue with pipeviewer and multiple pipes
- Date: Fri, 6 May 2016 14:55:24 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;        h=mime-version:in-reply-to:references:date:message-id:subject:from:to;        bh=eiHO3UekDs1uMl0cG64tULaESznNE6aUYmrgBml4Haw=;        b=fVcQop+4dWfXUPYUBvmHfH5qATcxAQN95K5CrFUE9KqjHPxsyoWADOqOn8m9n22uLg         ILeNmdDBdzEiYxPIoNEYGFvKZ6r6VI/Xf52h8FXXjpzf8J7bgGbUvnxhvQqMi0Fj/mjZ         0b4GdHOlCkdVWtMwPrEWOX5fzrZ74NwakV2PkwlV+MJHikusO4ZkwnppX89cuoqC4oUt         BoaxshtCmsqk75WeZYwbZOSbfVPdBKFA0WszFa4CwnJXI0ZixA5WmA5oaWJ2CeWLHOHr         vqvFS40M+D05oTVIoIu5HwBcD7vkv+xHEsmfBLyFNjNEP8fsamiVnww+dDyHzia4Z6yq         7wfQ==
- In-reply-to: <20160506223520.34b3e3c4@ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <ufaa8k6ei8t.fsf@epithumia.math.uh.edu>	<CAH+w=7b+tKnvfv1ip6ykNW4Oh_BQSiXnGwGMQzhvfi=Wrq6DXg@mail.gmail.com>	<20160506223520.34b3e3c4@ntlworld.com>
On May 6, 2016 2:41 PM, "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
wrote:
>
> On Tue, 3 May 2016 20:56:14 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >On Tue, May 3, 2016 at 6:15 PM, Jaron L Tibbitts III <tibbs@xxxxxxxxxxx>
wrote:
> > >
> > > [2]  + 11459 done                    echo 1 |
> > >        11461 suspended (tty output)  pv -l -s $(echo 1) |
> > >        11462 interrupt               cat
> >
> > I don't know why the $(echo) makes any
> > difference to it receiving the TTOU in the first place.
>
> Actually, it looks like This Can't Possibly Happen, since $(echo 1) is
> over and done with by the time the pv is started; we've got the output,
> closed the fd, and waited for the process to finish (by PID).  So there
> is some weird lingering side effect.
Something to do with list_pipe_* handling?  Is the parent confused about
the state of the child that will eventually exec pv ?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author