On Sun, Jan 31, 2010 at 10:46:43PM +1100, Craig Small wrote:
>
> The offending line is:
> if(tmp->tgid != tmp->tpgid) continue;
I think this line should be replaced with
if (tmp->pgrp != tmp->tpgid)
continue
Otherwise we may end up showing background processes.
Cheers,
found 187808 1:3.2.8-3
thankyou
OK, I've looked at the problem closer and can indeed see it. I'm not
sure why it didn't appear before; perhaps it was screen doing things.
The problem is that the piped program has a tpgid that is different
to its tgid. It want's the tpgid program which is the yes
2 matches
Mail list logo