From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22773 invoked from network); 15 Dec 2020 12:51:57 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 15 Dec 2020 12:51:57 -0000 Received: (qmail 8777 invoked by uid 89); 15 Dec 2020 12:52:22 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 8770 invoked from network); 15 Dec 2020 12:52:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dyfis.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H4eIPA+ajTKpEevxbgIFRD3mzAteX6IOvGks436GDp4=; b=L3qE30dxBb4RjuAwbUVU+9jVGZsNwbaTqW4Qrf4ibZnFO2v0YZwYy1tjLaGZgStSBX 8FnPaGv1s793vrmqeXUbFqhjQjzISTi4KbStiaJr+AThJi4FACtQo9RDznna+xwMh0+L w+0sOjPWFLX5fjQkKiS5WjQoHAbSI0TWU36BA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H4eIPA+ajTKpEevxbgIFRD3mzAteX6IOvGks436GDp4=; b=G05y0pctqLrxJL60eqYQ+tmh6wKT/Nlgo6NEG16QDpa+huC05VYxn5zbpbMqHTg0/K csucVEB0mZUt031a3e7/T906FGTzMf+3qnVh2HxIdgbv6VonpI6Jb+B/TMqlOjBgHWn/ xDnQ2q4bW0GkEIbgT2GOxXZkouOydb9VJwDAy4O3T0Q7EiPySCKcVYgOmQ77/w1cfTpb Lqe7P/AWN4ngQbvqa4gGSOWmqWV50EhgAhCjjclznjuRiaj3F2lfvBRXS4uq20JkywxT EQ0fR5P4BF/0CEy3fs6j4QDVs+JWYaxeXNw7Q0wScj/K0FXq38W2JOvx53g9TEi4BSkg bpsQ== X-Gm-Message-State: AOAM533uG64+yXq4ftR6i5eOiFzaqWzNhvRzYXfgqSM7LlMpinWryRRu 1jIQiGTjAqy7MwIfWVY39Lsp3syBhimDm1HxOrXODg== X-Google-Smtp-Source: ABdhPJxHvpa0dF8yBZsWb1KA9aJ2Avub8Md2hap6AKebx34KVZ448PW4Xs5A5WCbRPP598I6NHIXsqw4PWe/YVCW8xs= X-Received: by 2002:a1c:e90b:: with SMTP id q11mr2991442wmc.102.1608036714953; Tue, 15 Dec 2020 04:51:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Charles Duffy Date: Tue, 15 Dec 2020 06:51:44 -0600 Message-ID: Subject: Re: Source bash scripts in execline To: billa chaitanya Cc: Supervision Mailing List Content-Type: multipart/alternative; boundary="0000000000002e56ad05b68039d8" --0000000000002e56ad05b68039d8 Content-Type: text/plain; charset="UTF-8" Shell functions can only be sourced into a shell interpreter; execline is not a shell interpreter. You can, of course, have execline exec a shell, passing it a script that tells it to source your file before running whatever code requires the functions provided. On Tue, Dec 15, 2020 at 2:42 AM billa chaitanya wrote: > Hi Team, > In execline, How to do sourcing of bash script which contains small > functions. > envfile can be used to source variables. Since the script has some > functions, I'm not sure how to handle this. > "Source" is not working. Is there any other way i can source the bash > script which contains functions in execline ? > > Thanks! > --0000000000002e56ad05b68039d8--