[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Process Substitution Errors (Will Help With Coding)
From: |
Chet Ramey |
Subject: |
Re: Process Substitution Errors (Will Help With Coding) |
Date: |
Mon, 13 Sep 2010 10:10:36 -0400 |
> Bash Version: 4.1
> Patch Level: 5
> Release Status: release
>
> Description:
> Error codes from process substitution subshells go undetected,
> even with current most-paranoid flags set. I propose "set -o
> procsubfail" to fix this, though I'm unsure what changes to the
> codebase this will entail. I'm willing to hack some code if you agree
> and can point me in the right direction.
Since process substitutions are asynchronous, what should happen if one
returns an error?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/