You can direct output to a specific tty easily enough:
(
exec &> /dev/tty4
sleep 10;
python /home/pi/Desktop/execute_on_boot.py
) &
You should be able to see the output after you boot up with alt-ctrl-F4.
You can direct output to a specific tty easily enough:
(
exec &> /dev/tty4
sleep 10;
python /home/pi/Desktop/execute_on_boot.py
) &
You should be able to see the output after you boot up with alt-ctrl-F4.