[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Making --fg return the exit code of the command
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Making --fg return the exit code of the command |
Date: |
Mon, 30 May 2022 22:46:09 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Ole Tange, le lun. 30 mai 2022 22:39:11 +0200, a ecrit:
> On Sun, Jan 30, 2022 at 5:06 PM Samuel Thibault <samuel.thibault@gnu.org>
> wrote:
> >
> > Samuel Thibault, le dim. 30 janv. 2022 16:52:56 +0100, a ecrit:
> > > GNU parallel is doing almost exactly what I need, except that it does
> > > not return the exit code of the command, but rather only 0/1.
> >
> > Put another way,
> >
> > sem --fg exit 42
> >
> > should return 42, not 1.
>
> Version 20220222 and later do this.
Great, thanks!
Samuel