Replies: 1 comment
-
Hi! Is there a linux bash "watch" command equivalent in zephyr? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself running some shell commands multiple consecutive times, and thought of adding a loop mechanism, something like:
loop
1- Is there a way to leverage the shell_execute_cmd shell API? As the documentation specificies, this cannot be done from a shell context (i.e in the loop handler)
2- Is there a way to extract the handler of an shell command and call it directly ?
3- Use some shared memory/static variables for this purpose ? (i.e map the cmd name to the handler, later on the loop command can pick up this info and call the right handler)
Beta Was this translation helpful? Give feedback.
All reactions