How to pass arguments to a shell function from python task ? #bitbake #yocto

Bel Hadj Salem Talel <bhstalel@...>

Hi All,

I have this example that can call a shell function from a python task:

    bbwarn "This is a shell function, arg1 = $1"

python do_something(){'shell_function', d)

How to pass arguments to the shell function ?

I tried this : "'shell_function 1', d)" but it fails with the error: "shell_function 1" not found.


Join to automatically receive all group messages.