Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug with multios, substitutions and functions
- X-seq: zsh-workers 22928
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Bug with multios, substitutions and functions
- Date: Fri, 27 Oct 2006 17:15:50 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
There's a complicated form of multio which causes the shell to hang:
% echo This is the file >file
% fn() { cat; }
% fn <$(echo file file)
This is the file
This is the file
I didn't even know that was supposed to work until I accidentally
tried it out. Most similar forms do seem to work work.
In this case, the shell hangs. For some reason the multio process,
althought it's finished, isn't marked as finished in the shell's process
list.
No idea of the underlying problem, but as usual I suspect the hacks for
current shell pipelines in exec.c.
--
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author