help-bash
[Top][All Lists]
Advanced

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

Re: Invoking multiple commands that use $? for function return status


From: Alex fxmbsw7 Ratchev
Subject: Re: Invoking multiple commands that use $? for function return status
Date: Wed, 1 Dec 2021 14:49:13 +0100

i dont understand you latter part, but maybe, 'saving $? after return to a
var' does for you

On Wed, Dec 1, 2021, 14:38 fatiparty--- via <help-bash@gnu.org> wrote:

> 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.
>
>


reply via email to

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