[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to deal with errors in <()?

From: Peng Yu
Subject: How to deal with errors in <()?
Date: Sat, 7 Mar 2015 17:16:57 -0600



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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]