From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id lHzVKry1b2KxugAAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 12:43:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QJCDKby1b2LfMgAAauVa8A (envelope-from ) for ; Mon, 02 May 2022 12:43:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2D674F73D for ; Mon, 2 May 2022 12:43:08 +0200 (CEST) Received: from localhost ([::1]:56346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlTWF-00017k-41 for larch@yhetil.org; Mon, 02 May 2022 06:43:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlTWB-00017X-I8 for gwl-devel@gnu.org; Mon, 02 May 2022 06:43:03 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:33179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlTW8-0007og-VW for gwl-devel@gnu.org; Mon, 02 May 2022 06:43:03 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KsKRz3Fqkz1LX54; Mon, 2 May 2022 12:42:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KsKRz3Fqkz1LX54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1651488175; bh=T1gec0wpD+8VitjuoMIw/MKmzIG0GTCO/Eyh9ahOqRI=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Ql0/BiC56jFRuwqGUoRoQeGOPBFnW6rclvD/18liQcVRMMPwGTLPdpRBb25M11pdl t2mT8Kvw57iRtr028aPggIA9nZzqk/poR5odKAKlt7dspW+SvBk7h1KTjLmi51WmR8 /z+gttgTsPKHmo76DHwSP/JTMjQYJw0myMz4wiNw= Message-ID: <97fb14917a46274e1d2c908d8b82111e9636c551.camel@ist.tugraz.at> Subject: Re: GWL bash-minimal masks input bash From: Liliana Marie Prikler To: zimoun , gwl-devel@gnu.org Date: Mon, 02 May 2022 12:42:54 +0200 In-Reply-To: <878rrk9t3i.fsf@gmail.com> References: <878rrk9t3i.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: none client-ip=129.27.2.202; envelope-from=liliana.prikler@ist.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651488188; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T1gec0wpD+8VitjuoMIw/MKmzIG0GTCO/Eyh9ahOqRI=; b=k8ivIO0NT+qKYxw2nqu4mZwHuOnxJNhY8sTYjfSPkP/rw6z/vy3dS6FxiXkroBEoNfGr9O SO2SaUy9QM0GX2FDNTSDULP3o9xByQOSFEV0Q9A6oZcf4GU75FNOEJxDdnRwv5wzcTX4P/ 0QqR1Z8fGbE9nf48AhHFPU+owErUEcF52E9VPH+Zyf5foCgEgesZrMmmQ7PV5Q9LBUevmc QqjLmlpNJXlAnx/dkJCfGill8JwYUZE+VNj15XDxLA0JNnOBZgEtxgc/knOUUIf3L0HrnG BwayQb6Yql23lerRZJcRVWSpDRqje7cQIQc/Xf9oxHF4nyEQK62/8HZLx/Bx3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651488188; a=rsa-sha256; cv=none; b=rrBh2mc7TcP6dWRbd54S9nAezgXKni7Uyyd+jHj5V5ZAsTD/O7HLU+vxSXDp4v56qI/Ftu 0d/XrCjmiWJ2sgfK89vj5v+Zl1DIvET4+FqP7F4Y3ln+TcCOfwE1nBneT148pH7RRECaG1 V2DcFJzSJXKKmZ2r3OrByELJWNj6v3sWGclJSAtw8/JLtT5UvudFYBDEd5ncJf5ZIg740d cWBPS5ZY4khPT/DcHh65VPcGPMKBsSRDRvtodz8dJV7T+2Ua9Pe5iGaQyDKn/Awo5AGqfi 6TZF6ILZ7XQJ3vtqMZlpbz6KI52ICHi6cUByWo0U6NMfB2DQ3Jtnmmpcbleuzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b="Ql0/BiC5"; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.69 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b="Ql0/BiC5"; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2D674F73D X-Spam-Score: -3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: EfK0XpfDKA/x 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 > 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