I'm working on a production machine for toys. The idea is that the toys are on a production line and my "machine" scans them and logs the production info on a database.
My bash script is ready.
The last step for me is to have a visual interface for logistic purposes. For this I am using node-red.
Good. Now my trouble start when I try to execute my bash script using the exec node.
I have tried these solutions:
- How to run a bash script from node red?
- Exec node error when running terminal commands
None of them worked for me.
I ALWAYS get a "command not found" for every command I am making in my script.
prod_test_flash.sh: line 7: esptool.py: command not found
Can you please help and let me know what I am missing? Thanks