|
From: | fatiparty |
Subject: | Invoking multiple commands that use $? for function return status |
Date: | Wed, 1 Dec 2021 14:38:02 +0100 (CET) |
I have been coding some bash functions that return an exit status. Then calling $? to get the return value and act appropriately. But I am suspecting problems when I invoke multiple instances of $? simultaneously using different console terminals. I would be grateful on some ideas of how to handle such circumstances.
[Prev in Thread] | Current Thread | [Next in Thread] |