Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Subshell with multios causes hang
- X-seq: zsh-workers 23462
- From: Peter Stephenson <pws@xxxxxxx>
- To: Zsh-Workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: Subshell with multios causes hang
- Date: Wed, 23 May 2007 12:50:16 +0100
- In-reply-to: <1179919513.3015.569.camel@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <1179832903.3015.505.camel@xxxxxxxxxxxxxxxxxxxxxxxxx> <20070522182925.4c43a67e@xxxxxxxxxxxxxx> <20070523111203.299233ec@xxxxxxxxxxxxxx> <1179919513.3015.569.camel@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Wed, 23 May 2007 12:25:13 +0100
John Buddery <jvb@xxxxxxxxxxxxxxxx> wrote:
> % echo This is the file >file
> % fn() { cat; }
> % fn <$(echo file file)
> This is the file
> This is the file
> (hang at this point)
>
> One way to fix it would be to block the child signal until the child
> pid was registered (patch below).
That seems entirely reasonable and unproblematic. I've committed it (with
a comment and the case above in another test).
Sorry about the wrapping in the previous post---I've tracked down
claws-mail's autowrap feature and turned it off (though these things have
a habit of coming back from the dead...)
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
Messages sorted by:
Reverse Date,
Date,
Thread,
Author