I try to start a python program (for accessing the camera, but that is irrelevant) every time the raspberry pi boots.
The tutorials I read said one should add the corresponding command in /etc/rc.local
. In my case the command is (sleep 10;python /home/pi/Desktop/execute_on_boot.py)&
If I enter this exact command into the terminal, it works fine, but I am not sure whether it works after booting, because there is no terminal showing me the outputs of that script. It would be really handy to have an open terminal for that python program.
So is it somehow possible to open a terminal from python? Or can I alter the command somehow in order to automatically allow a terminal?
Or should a terminal open anyway but I did something wrong?