On Thu, Jun 24, 2010 at 01:18:25PM -0400, Chet Ramey wrote:
> On 6/23/10 6:08 AM, Dr. Werner Fink wrote:
> 
> > Yet an other version of the patch to avoid trouble with the
> > coproc builtin tested out in tests/coproc.tests.  There is one
> > difference more with tests/redir.tests at
> 
> Thanks, this is a great start.  There's still more work to be done with
> bookkeeping, and it won't work with job control, but it should get a
> large part of the way there for non-interactive shells.

Yep I've stumbled across a hanging bash if used interactive.
It seems that adding

       stop_pipeline (0, (COMMAND *)NULL);

after

       prev = NO_PIPE;

at least does avoid this. See the patch in my last mail with the
message ID <20100624073708.ga13...@boole.suse.de>.


     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Reply via email to