help-bash
[Top][All Lists]
Advanced

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

catching the statuts of sourced unamed pipe?


From: Peng Yu
Subject: catching the statuts of sourced unamed pipe?
Date: Sat, 21 Jan 2023 20:30:09 -0600

Hi,

The return status of the sourced unnamed pipe is not available. What
is the best way to catch the return status of the unnamed pipe?
Thanks.

source <(false) || echo "$?"

-- 
Regards,
Peng



reply via email to

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