Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14622

Re: Special parameter ?

From Enrique Soriano <esoriano@gsyc.urjc.es>
Newsgroups gnu.bash.bug
Subject Re: Special parameter ?
Date 2018-09-21 16:17 +0200
Message-ID <mailman.1087.1537539467.1284.bug-bash@gnu.org> (permalink)
References <201809211123.w8LBNvHe018414@omac.gsyc.urjc.es> <20180921125705.646znyglxhb6rqga@eeg.ccf.org>

Show all headers | View raw


> You're seeing the status from the creation of the background job (which is
> always 0), not from its completion.

Ah, I see.

Anyway, the behavior is not coherent with the manual page: in this
case, $? has the status from the creation of the background job,
that's not "the status of the most recently executed foreground
pipeline".

Regards

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Special parameter ? Enrique Soriano <esoriano@gsyc.urjc.es> - 2018-09-21 16:17 +0200

csiph-web