[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Making --fg return the exit code of the command
From: |
Ole Tange |
Subject: |
Re: [PATCH] Making --fg return the exit code of the command |
Date: |
Mon, 30 May 2022 22:39:11 +0200 |
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.
/Ole
- Re: [PATCH] Making --fg return the exit code of the command,
Ole Tange <=