Hi,
http://mywiki.wooledge.org/ProcessSubstitution
The above webpage says the following.
commandA <(commandB; [commandB's exit code is available here from $?])
[commandB's exit code cannot be obtained from here. $? holds
commandA's exit code]
But I am wondering if there is a walkaround to deal with errors in
<(). The ideal behavior should be that if there is a error in <(),
then we should not consider commandA is executed correctly even if its
return status is 0.
Does anybody have a good solution for this situation? Thanks.
--
Regards,
Peng