Hi All,

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

*shell_function(){*
*bbwarn "This is a shell function, arg1 = $1"*
*}*

*python do_something(){*
*bb.build.exec_func('shell_function', d)*
*}*

How to pass arguments to the shell function ?

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

Thanks,
Talel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#54184): https://lists.yoctoproject.org/g/yocto/message/54184
Mute This Topic: https://lists.yoctoproject.org/mt/84359311/21656
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to