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 <billachaita...@gmail.com>
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!
>

Reply via email to