Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: coprocesses
- X-seq: zsh-workers 7234
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: coprocesses
- Date: Wed, 21 Jul 1999 12:28:32 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Wed, 21 Jul 1999 11:34:19 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> Are coprocesses still working? I got some strange results after trying
> them in order to make the manual a bit clearer, but I don't use them often
> enough to be sure.
>
> coproc cat
> print foo >&p
> read line <&p
>
> simply hung --- it did that without job control, too. In ksh it read the
> expected line and the coprocess terminated. Trying to close the coprocess
> input seemed to provoke some even stranger things.
If that's on your AIX box, this would probably show that it really has
some problems with IO, because it works fine for me (without the cat
terminating after the first `print' which, as I think, is correct).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author