Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Any comment on file descriptor behavior in functions?



> Specifically zsh-workers/20991:
> 
> > It could be argued that descriptors opened by process substitution
> > should remain open across external command execution within functions;
> > they do, in e.g. bash.
> 
> (But don't in zsh, in case that isn't clear.)

Yes, I suppose they should be kept open, since the difference between
the command and function examples in that is rather nasty.  I presume
this can be done with an extra flag.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author