Hello
I've got two scripts I've written in python with a lot of help I've gotten from various forums and threads. The scripts control a rotary encoder and a shutdown button. Basic stuff. I can ssh into my pi4 and run the scripts in libreelec using the code below, but ONLY one at a time until the script is exited
The scripts have been added to autostart.sh
Bash
#!/bin/bash
(python /storage/scripts/script-for-shutdown.py)&
(python /storage/scripts/script-for-encoder.py)&
exit
I've verified that I ran chmod +x on both files.
I'm simply at a loss for what I've done wrong. When the scripts are run via the terminal, they seem to work well.
Any help would be GREATLY appreciated. I'm sure it's something stupid I'm doing.
Thanks!