[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GWL bash-minimal masks input bash
From: |
Liliana Marie Prikler |
Subject: |
Re: GWL bash-minimal masks input bash |
Date: |
Mon, 02 May 2022 12:42:54 +0200 |
User-agent: |
Evolution 3.42.1 |
Am Montag, dem 02.05.2022 um 11:33 +0200 schrieb zimoun:
> Hi Liliana,
>
> Thanks for the tip.
>
> On Wed, 06 Apr 2022 at 10:38, Liliana Marie Prikler
> <liliana.prikler@ist.tugraz.at> wrote:
>
> > I wrote a GWL workflow that calls the script, but due to the
> > extension the script actually fails in the GWL context. This is
> > because GWL's process->script unconditionally conses bash-minimal
> > to the process inputs. It should probably check whether a bash
> > input already exists or alternatively just append (list (bash-
> > minimal)) instead.
>
> Out of curiosity, why bash-minimal is not enough for running your
> script?
Because it dynamically loads a bash extension via `enable -f'. This is
not supported by bash-minimal, but it is supported by regular bash.
Cheers